Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.249438' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (37.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.393719' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.415067' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.415927' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:58.423452' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:58.424572' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 18:50:58.430658' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.475365' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.523252' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.530180' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.533801' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.534510' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:58.537743' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:58.538533' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:50:58.547374' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:50:58.548216' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (16.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.608619' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.617088' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.618140' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:50:58.628063' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:50:58.657017' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.657965' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:58.665447' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:58.666477' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:58.669191' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:50:58.669979' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.722301' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.729129' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:50:58.732603' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:50:58.735647' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.736514' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.737237' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:50:58.738324' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:50:58.741282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:50:58.742308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.793377' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.800652' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.804279' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.805102' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:50:58.809406' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:50:58.810394' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:50:58.814025' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:50:58.817576' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:50:58.820647' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.821465' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:50:58.822265' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:50:58.823440' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:50:58.826847' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:50:58.827505' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.873080' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.880862' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.881751' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.930393' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:58.937962' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.938797' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:50:58.941380' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:50:58.942150' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.992735' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:58.999715' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.003169' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.004018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:59.007445' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:59.008089' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (274.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.349336' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.364618' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.365499' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:50:59.368256' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.368958' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:50:59.372740' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:50:59.392983' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (18.2ms) SAVEPOINT active_record_1  (2.4ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:50:59.412509' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:50:59.417546' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:50:59.424169' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:50:59.425614' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.470096' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.477230' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.480865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:50:59.481615' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.537060' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.544412' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.547784' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.548663' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.596104' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.603643' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:50:59.606910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 18:50:59.610755' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 18:50:59.611548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.661675' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.668675' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.672297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.673027' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 18:50:59.677422' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.726430' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.735796' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.736833' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:59.759178' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:59.759998' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users"   (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.811203' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.819554' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:50:59.823962' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.874085' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.881184' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:50:59.882656' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:50:59.885474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.886182' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:50:59.888980' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:50:59.889774' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:50:59.892628' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.893444' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 18:50:59.896553' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.942832' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:50:59.950677' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:50:59.951584' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:50:59.954390' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:50:59.955220' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.005021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.012597' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.013546' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:00.016181' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.017096' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:00.020092' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:00.021077' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:00.027543' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.028730' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.076601' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.083610' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.086852' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.087551' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:00.090519' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:00.091275' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:00.094066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.094862' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (1.0ms) rollback transaction  (10.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.151657' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.158855' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:00.162279' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.209758' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.216764' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:00.220461' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:00.236028' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.287078' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.294337' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.297873' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.298637' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.8ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:00.301534' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:00.324712' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:00.331042' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:00.331970' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (193.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.592534' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.604687' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:00.607951' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:00.612554' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.613997' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.618645' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.665603' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:00.673481' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:00.674196' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.721978' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.722811' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.730497' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.732161' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.733764' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.735419' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.737321' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.739178' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:00.740731' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.812116' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.819598' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:00.823246' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:00.826248' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.827158' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.828441' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:00.829675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.881115' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:00.889780' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.890701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:00.893823' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.894610' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:00.897583' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:00.898402' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:00.901173' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:00.902132' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.952887' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:00.959789' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.011067' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.018919' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.019758' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:01.023088' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:01.023932' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.073258' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.081929' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.082776' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.134890' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.142828' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.143781' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:01.147781' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:01.148626' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.198718' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.205393' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.209842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.210673' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 18:51:01.212972' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.261615' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.268828' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.284836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.285754' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:01.289150' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.289915' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:01.292738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.293568' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.296603' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.365331' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.372047' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.375801' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.376675' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:01.380280' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:01.381389' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:01.387124' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:01.388056' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.391417' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:01.394963' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:01.398554' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.399426' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.400264' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:01.401525' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:01.404113' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:01.404945' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:01.410226' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:01.411064' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.456762' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.463550' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.467594' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.468514' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.517820' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.524693' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:01.526254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:01.529420' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.530152' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.535400' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:01.537169' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:01.539726' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:01.542707' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:01.543418' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.544175' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:01.545227' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.595904' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.649783' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.657274' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.658022' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:01.660500' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:01.661247' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.708963' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.716705' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.717726' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:01.720724' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:01.721587' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:51:01.725318' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.789523' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.797135' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.798074' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:01.802938' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:01.803712' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.853320' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.860478' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.864040' WHERE "communities"."id" = 2  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.887032' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:01.888786' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:01.891438' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.892247' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.896171' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:01.899714' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:01.902561' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.904078' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:51:01.904939' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:01.905983' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:01.907355' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:01.909747' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:01.912822' WHERE "inkwell_community_users"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:01.913704' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:01.914577' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:01.915594' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:01.925109' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:01.925943' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:01.928079' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:01.928860' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.973219' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:01.981901' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:01.982502' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.030068' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.086117' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.093161' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:02.096601' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.144562' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.152517' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.153439' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.202298' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.246449' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.247399' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (213.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.552436' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.564128' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:02.569499' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:02.573929' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.574922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.575761' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:02.577065' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (23.5ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:02.580498' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:02.605144' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:51:02.608596' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:51:02.609563' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.653653' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.660993' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.664839' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.665599' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-14 18:51:02.670490' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:02.674221' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:02.677837' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:02.680870' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.681681' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:02.682480' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:02.683770' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-14 18:51:02.687882' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-14 18:51:02.689033' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.0ms) DELETE FROM "inkwell_followings";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (10.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.771781' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.780183' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:02.786303' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:02.787410' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:02.792933' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:02.793997' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:02.796598' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:02.799806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:02.800823' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:02.806237' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:02.808517' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:02.812136' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:02.815132' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:02.815920' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:02.816616' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:02.817783' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:02.821296' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:02.821902' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:02.825820' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:02.829102' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:02.829825' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:51:02.830662' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:02.831784' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (577.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (482.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.4ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:03.961968' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:03 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.3ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.025297' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.031973' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:04.033800' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:04.036236' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.037003' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.041534' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-14 18:51:04.042405' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.092248' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.119737' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.120720' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:04.124274' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.175411' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.182979' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:04.187796' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.238390' WHERE "users"."id" = 3 SQL (23.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.270282' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:04.272216' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.322401' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.330429' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.331323' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.334208' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:04.334998' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:04.340466' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.341510' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.344225' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:04.345086' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:04.352652' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.353546' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.356564' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-14 18:51:04.357450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.408720' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.415691' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:04.419439' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.467061' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.474885' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.475657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:04.479358' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:04.480281' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.526329' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:04.533353' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.586294' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.593597' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:04.596975' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.599188' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:04.599943' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:04.605241' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:04.605892' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.606787' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.656523' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.664369' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.679491' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:04.682728' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.683657' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.686427' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:04.687411' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:04.690252' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:04.691049' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:04.695740' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.741743' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.790552' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (21.7ms) RELEASE SAVEPOINT active_record_1  (2.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.822954' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.826948' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.827878' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:04.831514' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:04.832441' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.881371' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.888774' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:04.892227' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:04.894682' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.895567' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:04.896510' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:04.897750' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:04.900824' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:04.903734' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:04.904582' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.905593' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:04.906711' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:04.908736' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:04.909557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.956617' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:04.964280' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:04.965161' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:04.967431' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:04.968237' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-14 18:51:04.972125' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.019806' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.027980' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.028966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.078178' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.085670' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:05.089549' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:05.092243' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.138671' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.145904' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:05.149086' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:05.152529' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.153554' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.154366' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:05.155494' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:05.159213' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:05.160069' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:05.162955' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:51:05.163698' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (14.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.222345' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:05.229581' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:51:05.232662' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.276827' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.284186' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.333732' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.341552' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.344997' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.345796' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (2.6ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:05.375372' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:05.376622' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:05.379929' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:51:05.380839' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:05.383848' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:05.386850' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:05.390095' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.390990' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:05.391859' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:05.393242' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:05.397155' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:05.397920' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:05.400900' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:51:05.401701' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.446039' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.453944' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.454760' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:05.457546' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:05.458390' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:51:05.460781' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:51:05.461598' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (258.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.795032' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.810225' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:05.815457' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:05.816292' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:05.819328' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.820046' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:05.828127' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:05.828990' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:05.834052' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:05.834843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:05.839005' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:05.839793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.883608' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.890701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:05.892786' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:05.941146' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:05.949375' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:05.950125' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.014587' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.015463' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.7ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.023779' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.025647' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.027209' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.028828' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.030556' WHERE "inkwell_timeline_items"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.032859' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:51:06.034495' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:06.039007' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:06.039809' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.041875' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.042672' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.043421' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.044110' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.045446' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.046191' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:06.046901' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (24.4ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.122517' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.182251' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.190348' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.191286' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:06.196566' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:06.197312' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.4ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.248040' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.255398' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.258835' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:06.259550' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:06.262400' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.263343' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:06.266368' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.267052' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.319062' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.374000' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.380629' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:06.383197' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:06.385646' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.386403' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.434374' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.441745' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.442432' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:06.445836' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:06.446623' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-14 18:51:06.450120' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:06.450780' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-14 18:51:06.451501' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.500373' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.507230' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.573746' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.581892' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.582878' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:06.587395' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.640078' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:06.648336' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.649248' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:06.653438' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:06.654393' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:06.657411' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:51:06.658182' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.707736' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.714886' WHERE "users"."id" = 2 SQL (25.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:06.742610' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:06.745077' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.745930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:06.748935' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:06.749810' WHERE "users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:06 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:51:06.752728' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:06.753700' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (504.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.333875' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.346063' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:07.348052' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-14 18:51:07.349427' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.397926' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.406802' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:07.409002' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.458895' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.467225' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.471586' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.472660' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:07.480666' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:07.481808' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.536891' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.545051' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.549268' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:07.550098' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:07.553640' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.554397' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:07.564012' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:07.564813' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:07.570093' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:07.570961' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:07.576806' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:07.577739' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.623426' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.645382' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.650060' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.650733' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 18:51:07.653246' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:07.654905' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:07.657296' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:07.658093' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.701610' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:07.710456' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:07.711307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (24.9ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.786948' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.787841' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.841714' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.848913' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:07.850772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:07.853424' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.854135' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:51:07.856939' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:07.857900' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:51:07.860707' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.861493' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 18:51:07.864619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.913843' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.921021' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.924518' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.925270' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:07.929541' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:07.932989' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:07.935856' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.936791' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:07.937712' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:07.938860' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.983530' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:07.990852' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.991741' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:07.994935' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:07.995691' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.042565' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.049010' WHERE "posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.055360' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.062093' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.068330' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.074498' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.080705' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.086497' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.093532' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.125314' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.131503' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.137858' WHERE "posts"."id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:08.143055' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:08.144079' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.145800' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.147657' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.148836' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:08.151053' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-14 18:51:08.151801' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.153774' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.154982' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.156104' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:08.159863' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:08.160962' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:08.161993' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.163819' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.164418' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.164897' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.165206' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.165718' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.166191' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.217933' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.225201' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:08.228664' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.278836' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:08.286544' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.287523' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:08.290428' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.291162' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:08.295215' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:08.300232' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:08.300966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:51:08.302706' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:51:08.307001' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:08.308467' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.359051' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.367047' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:08.370498' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:08.371110' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:08.373991' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.374836' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:08.377692' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.378469' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:08.383057' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:08.383906' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:08.403067' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:08.404019' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.450415' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.458508' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:08.463650' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.513063' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.520880' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:08.524450' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.525279' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:08.529636' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:08.530703' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:08.534059' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:08.538353' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:08.541580' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:08.542356' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:08.543123' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:08.544459' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:08.548057' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:08.548754' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.624743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.632383' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.685224' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.692497' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:08.695906' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:08.698925' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:08.700495' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:08.701346' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:08.702485' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:08.705415' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:08.708637' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:08.709466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:08.710309' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:08.711451' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:51:08.714405' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:08.715313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (235.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.027536' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.039655' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.040985' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:09.045612' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.047127' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:09.052633' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:09.053312' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:09.056841' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:09.057764' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:09.063410' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:09.068736' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:09.069461' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:09.074690' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.119583' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.126810' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:09.130353' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:09.133408' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.134231' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.134869' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:09.135963' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:09.140065' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:09.140974' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.3ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.235209' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.242564' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.320201' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.400780' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.481648' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.489445' WHERE "users"."id" = 2 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:09.493419' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:09.497311' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.599968' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.607236' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.610413' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.611424' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:09.615850' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:09.616807' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.681389' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.688786' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.692225' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.692988' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:09.696729' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:09.697662' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:09.702752' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:09.706026' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:09.709210' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.710101' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:09.710900' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:09.712024' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:09.715644' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:09.716183' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (8.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.793570' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.800774' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.878648' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:09.886721' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:09.887622' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:09.892227' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (341.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (189.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (1.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.504224' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.522757' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:10.524504' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:10.526937' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.527565' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-14 18:51:10.530769' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:10.531657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.594151' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.650607' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:10.658892' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.659857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:10.662350' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:10.663237' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:10.666154' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:51:10.666868' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.715377' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:10.723936' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.724958' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:51:10.729672' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:10.730574' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.776749' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:10.785156' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.786094' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:10.789340' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:10.790233' WHERE "communities"."id" = 1  (2.3ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-14 18:51:10.821236' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.866469' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.874648' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:10.878327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:10.881199' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:10.882857' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.883866' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:10.885130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.935251' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:10.943047' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.943778' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:10.946423' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:10.947248' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:10.950776' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:10.951608' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:10.955046' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:51:10.955831' WHERE "communities"."id" = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.004740' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.011778' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.015524' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:11.018680' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.019629' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.020260' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:11.021561' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.068584' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.075853' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.079620' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:11.083290' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.133647' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.140948' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.144346' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.144918' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:11.167037' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:11.168066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:51:11.171321' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:51:11.172135' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.175095' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.178797' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:11.181884' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.182851' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.183923' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:11.185111' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:11.188501' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:11.189465' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:51:11.192728' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:51:11.193537' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.238322' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.245380' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:11.247716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:11.251315' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.252161' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.302125' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.309629' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.313445' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.314233' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:11.317085' WHERE "communities"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.318292' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:11.321357' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.322154' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (1.7ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.399808' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.407291' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.410875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.411624' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:11.414619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.415392' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:51:11.418591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.419372' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.422556' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.469947' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.476937' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.480846' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 18:51:11.484701' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 18:51:11.485957' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.533695' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.540971' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:51:11.542632' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.545148' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:51:11.548214' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:51:11.548968' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.550153' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:11.551477' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.603243' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.610181' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.613857' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.616191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.617027' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.664636' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.671558' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.693177' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.738637' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.745661' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.749112' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.750373' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.754964' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:11.758972' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:11.761829' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.762807' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:11.763718' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:11.764957' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.815227' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.822742' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.826666' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.827492' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:11.831729' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:11.832623' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:51:11.841913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:11.843002' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] [36mCommunity Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.948711' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:11.957065' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.957983' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:51:11.960881' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:11.961700' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:51:11.965653' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:51:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:51:11.970594' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:51:11.971361' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:51:11.973128' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:51:11.977284' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:51:11.978551' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (722.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.774370' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.790470' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.848184' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:12.859923' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.861355' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:12.865534' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:51:12.866340' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:51:12.871314' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:51:12.872029' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.921102' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.927750' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:12.931562' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:12.934887' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:12.935718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.936479' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:12.937698' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.987874' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:12.995460' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:13.062438' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:13.069958' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:13.073698' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:51:13.074467' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:13.078443' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:13.079352' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:13.083465' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:51:13.084888' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:13.088036' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:51:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:51:13.091371' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:51:13.094745' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:51:13.095618' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:51:13.096493' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:51:13.097622' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:51:13.101470' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:51:13.102375' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:51:13.106622' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:51:13.107249' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.338167' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.390346' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:27.394613' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (33.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.485157' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.493361' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:27.498096' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.499391' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 18:52:27.508145' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.552924' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.3ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.621494' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:27.629601' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.630479' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:27.637596' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:27.638759' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.688856' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.695540' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:27.697187' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-14 18:52:27.698184' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.746208' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.753357' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:27.754891' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:27.757374' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.758215' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:27.760983' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:27.761727' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:27 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:52:27.764474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:27.765264' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (237.9ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.084157' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.103821' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.104773' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.126787' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.181368' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.188966' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.189801' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:28.193063' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:28.193769' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:52:28.198457' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:28.199353' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.244165' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.251098' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.254318' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.255038' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:28.256129' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:28.259024' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.259754' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.263002' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:28.266521' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:28.269458' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.270355' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:52:28.271313' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:28.272478' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:28.273847' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:28.276206' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:28.279086' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:28.279837' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.280740' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:28.281893' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:28.291020' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:28.291984' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:28.293843' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:28.294559' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.340263' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.347220' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.350704' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.351529' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:28.354557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.355383' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:28.365083' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:28.366055' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:28.370838' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:28.371629' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:28.377760' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:28.378518' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.429019' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.437129' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.438002' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:28.440845' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.441691' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.492676' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.498605' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.504273' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.510333' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.516494' WHERE "posts"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.522744' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.528328' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.534264' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.539971' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.545885' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.551419' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:28.557281' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:28.566032' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:28.567333' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.569349' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.571469' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.572673' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:28.574785' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-14 18:52:28.575658' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.577389' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.578554' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 18:52:28.579684' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:28.583801' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:28.584689' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:28.585646' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.587294' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.588546' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.589108' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.589614' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.590150' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:28.590702' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.641594' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.649429' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.650435' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:28.653197' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.654019' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:28.656963' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:28.657807' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:28.659985' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:28.660990' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:28.665862' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.711799' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.730564' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:28.734904' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:28.737915' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.738715' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.739477' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:28.740806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:28.765517' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:28.767196' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.818158' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.825535' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.828952' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.829881' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:28.833634' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:28.834466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.837852' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:28.841725' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:28.844775' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.845628' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.846504' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:28.847705' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:28.851178' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:28.852015' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.896226' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.903414' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.906764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.907582' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:28.912651' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:28.913466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.916674' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:28.920215' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:28.923210' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.924040' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:28.924890' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:28.926052' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:28.929788' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:28.930571' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.976713' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:28.984477' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:28.985362' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:28.988319' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:28.989074' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:28.991983' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:52:28.992782' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (90.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (164.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.307565' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.318372' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.319529' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:29.352578' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:29.353315' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.404367' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.411638' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:29.413305' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:29.415670' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:29.419087' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:29.419957' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.420835' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:29.422090' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.469714' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.476645' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.479797' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:29.480760' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.0ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.535694' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.543343' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.544202' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:29.548007' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:29.548927' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.617196' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.625583' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:29.629506' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:29.632724' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.633622' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.634479' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:29.635689' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.686300' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.694091' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.694939' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:29.697480' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:29.698270' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.746350' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.753788' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.756989' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.757684' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:29.761781' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:29.762625' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:29.766527' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:52:29.767262' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:29.770508' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:29.773866' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:29.776860' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.777657' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:29.778435' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:29.779560' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:29.782807' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:29.783716' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:29.787342' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:52:29.788341' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.832545' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.839971' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.840824' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:29.844883' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:29.845789' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.893081' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.900232' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:29.903548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.904295' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:29.907091' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:29.907981' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:29.913793' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:29.914688' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:29.960223' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:29 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.010866' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (12.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.072021' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.080190' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:30.085222' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.135394' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (2.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.165983' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.166928' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:30.170247' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:30.171098' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:30.177037' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.177792' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:30.181198' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:30.181993' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:30.189403' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.190299' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:30.193293' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-14 18:52:30.193904' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.244347' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.251635' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.255347' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.256027' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:30.259149' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:30.259862' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:30.262620' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.263422' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.266721' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.319633' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.326467' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.376738' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.385495' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.386424' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.434634' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.441682' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.445690' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.446540' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 18:52:30.448919' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:30.450348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:30.453004' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:30.453721' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.502671' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.509914' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.510660' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:30.513555' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:30.514349' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:30.517187' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 18:52:30.518284' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.567967' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.575116' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.638457' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:30.647575' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:30.648371' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.4ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.722253' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.723260' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.4ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.782517' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.789944' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:30.793354' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:30.796242' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.796996' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.797840' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:30.799068' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:30.803159' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:30.803985' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.851743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.859588' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.860608' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.909268' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.916457' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:30.920035' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:30.923550' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.973612' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:30.981404' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:30.982239' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:30.986834' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:30.987724' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (279.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.337032' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.347711' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:31.351535' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:31.355243' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.400192' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.407214' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:31.424504' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:31.427949' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:31.428944' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:31.429812' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:31.430852' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:31.433695' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:31.437028' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:31.437851' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.438691' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:31.439830' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:31.442947' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:31.443836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.492091' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.570142' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.577124' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:31.580758' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:31.581630' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:31.584791' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.585605' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:31.588560' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.589178' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.637152' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.644179' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:31.647676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.648562' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:31.652853' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:31.656373' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:31.659260' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:31.660156' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:31.660929' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:31.661888' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.712464' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.771313' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.778390' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.827071' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.834088' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:31.835727' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:31.838651' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.839381' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:31.842300' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:31.843142' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:52:31.845972' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.846719' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 18:52:31.849994' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.902065' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:31.910193' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.911022' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:31.919433' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:31.925759' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.926544' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:31.947201' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:31.948133' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:31.950604' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:31.952006' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:31.999519' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.007481' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:32.009277' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:32.011668' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.012577' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-14 18:52:32.015547' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:32.016293' WHERE "users"."id" = 1  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (2.6ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.092836' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.140282' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.141028' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.8ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.8ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.206216' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.213312' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:32.216440' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (1.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.266834' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.274170' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.278018' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.278917' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 18:52:32.281321' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (283.0ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.635787' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.649708' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:32.658569' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.3ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.704845' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.711929' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.715395' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.716242' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:32.720693' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:32.721482' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:52:32.724277' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:52:32.724896' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:32.728576' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:32.745915' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:32.749698' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.750860' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:32.751731' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:32.753000' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:32.756285' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:32.757198' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:52:32.760831' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:52:32.761888' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.807792' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.815087' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:32.818737' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:32.821922' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.822945' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.823775' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:32.825017' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (24.2ms) DELETE FROM "inkwell_community_users";  (2.9ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.896762' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.904280' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.907771' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.908905' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:32.912511' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:32.913433' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.959947' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:32.969170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:32.969983' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.061238' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:33.075583' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.077173' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:33.082090' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:33.083049' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:52:33.085608' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:52:33.086415' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.173050' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.180652' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:33.182503' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.258176' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.265238' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:33.268811' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:33.269578' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:33.272336' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.273143' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:33.276050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.276838' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:33.281231' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:33.281879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:33.284654' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:33.285286' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.354220' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.361578' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:33.363718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.439671' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.505653' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:33.527276' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:52:33.530198' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (2.1ms) rollback transaction  (41.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.663714' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.677799' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:33.684038' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.684966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:33.688573' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:33.689303' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:33.692788' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.693682' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:52:33.696948' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.772168' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.779091' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.882920' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.962504' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:33.969875' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.971470' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:33.974285' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:33.975054' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:33.978039' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:33.978880' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:33.986041' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:33.987089' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.6ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (10.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.043276' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.050866' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:34.054122' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:34.056527' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:34.057460' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:34.062181' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:34.063117' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.064078' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.110129' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.167288' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.174535' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:34.176428' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:34.179450' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.180229' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.230201' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:34.238397' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.239363' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:34.242141' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.242848' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:34.246567' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:34.251740' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:34.252602' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:52:34.254338' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:52:34.274743' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:34.276260' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (554.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.911835' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.922485' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:34.925086' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:34.928533' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.929767' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:34.975410' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.030858' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.038941' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.039920' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (2.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:35.068887' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:35.069637' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:52:35.073901' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.122405' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.129232' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:35.133891' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.136261' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:35.137147' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.189379' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.196656' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:35.200675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:35.203996' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.251635' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.259128' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.309216' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.316725' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:35.320522' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:35.323607' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.324583' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:35.325458' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:35.326635' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:35.329470' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:35.332702' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:35.333628' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.334443' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:35.335491' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:35.337420' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:35.338282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.412662' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.420349' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.421194' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:35.424207' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.425033' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:35.428745' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:35.433677' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:35.434270' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:52:35.436050' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:52:35.440174' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:35.441762' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (15.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.531289' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.538460' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.541981' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.542735' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:35.545973' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:35.546860' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:35.549921' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.550696' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.641477' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.652012' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.656848' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.659671' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:35.667892' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:35.668868' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (24.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.2ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.784289' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.791513' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.794825' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:35.795757' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-14 18:52:35.801194' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:35.805090' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:35.808688' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:35.811643' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:35.812669' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:35.813705' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:35.814897' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-14 18:52:35.819239' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-14 18:52:35.820516' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (387.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (52.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (156.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (250.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.727369' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.743571' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:36.748576' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.797293' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:36.806697' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.807775' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:36.810602' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:36.811814' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-14 18:52:36.816425' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.868418' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:36.877995' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.879095' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:36.882272' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.883217' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:36.887595' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:36.893525' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:36.894352' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 18:52:36.896098' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 18:52:36.900464' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:36.901793' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.949648' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.956723' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:36.959968' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:36.960925' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.025099' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.033064' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.033970' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:37.036857' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:37.037706' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 18:52:37.041848' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.085223' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.092320' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.144764' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.152554' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.155927' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.156803' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:37.161527' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:37.162476' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (2.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.238249' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.245698' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.249557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.250648' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:37.255279' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:37.256294' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.260633' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:37.264136' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:37.267395' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.268409' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.269241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:37.270253' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:37.274021' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:37.274802' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.320731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.328192' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:37.329920' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:37.332382' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.333191' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:37.335947' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.336823' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 18:52:37.339830' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.340820' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 18:52:37.343994' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (116.0ms) DELETE FROM "inkwell_blog_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (283.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (1.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.813722' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.878030' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.888389' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.892826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.894070' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.900832' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:37.905071' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:37.909457' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:37.910562' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.911743' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:37.913461' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.958926' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.965675' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:37.983433' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:37.986049' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:37.986932' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:37.993007' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:37.994758' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:37.997271' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:38.000781' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:38.001947' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:38.002944' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:38.004121' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.050338' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.060211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.061803' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.065293' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.065891' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.111260' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.119838' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.120915' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:38.124058' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.125003' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.154265' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.155060' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.159486' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:38.160290' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.211883' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.219855' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.220832' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.271416' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.278709' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.279640' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:38.281936' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:38.282836' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.334158' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.342324' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.343154' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:38.345938' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.346764' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.349456' WHERE "inkwell_community_users"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.350563' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.354336' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:38.355112' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.361028' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.366077' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:38.366905' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.371893' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.417006' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.424919' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:38.429413' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.474856' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.482258' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:38.484243' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:38.487030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.487820' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.490056' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.554238' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.561595' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.565196' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:38.566000' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:38.568887' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.569702' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.578621' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.579563' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.584874' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:38.585692' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:38.590759' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:38.591657' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.5ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.635962' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.643548' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.646813' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.647701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.6ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (1.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:38.678021' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:38.679149' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:52:38.688240' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:38.689053' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.736718' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.743583' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.789449' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.796573' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:38.800179' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:38.800969' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:38.804221' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:38.805023' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (244.3ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.120582' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.130572' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:39.135611' WHERE "communities"."id" = 2  (0.6ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 18:52:39.140760' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.141858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.185545' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.192654' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.196286' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:39.197054' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:39.199805' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.200677' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 18:52:39.203579' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.204447' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.251632' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.258998' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.259952' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:39.262924' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.264299' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (16.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.323562' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.330518' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:39.334118' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:39.337888' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.338861' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.339697' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:39.340809' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:39.344909' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.345857' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:39.348911' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:52:39.349829' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.394135' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.402428' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.403273' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:39.407229' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.408069' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.456763' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.463934' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:39.465823' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:39.468671' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.469611' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (26.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:39.501255' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-14 18:52:39.502491' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.547173' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.554761' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.555730' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:39.558569' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:39.559102' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-14 18:52:39.563248' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:39.564258' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-14 18:52:39.564985' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.614120' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:39.622388' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:39.623307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.672267' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.673202' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.680822' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.682334' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.684119' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.685741' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.687297' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.689061' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:39.690573' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 18:52:39.695542' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:39.696464' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.698575' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.699421' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.700191' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.700970' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.701737' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.702482' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 18:52:39.703289' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.747669' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.771761' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.776141' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.776956' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:39.780145' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:39.781019' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:39.787357' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.788236' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:39.791692' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:39.795232' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:39.798236' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.799083' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:39.799894' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:39.801179' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:39.804671' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:39.805275' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:39.810983' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:39.811806' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.861480' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.868695' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:39.872378' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:39.875414' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:39.876459' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.877345' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:39.878719' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (25.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:39.955965' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.006304' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.013605' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:40.018056' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.018933' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (262.3ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.344109' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.354240' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:40.358911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.359870' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:40.364911' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:40.365981' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:40.368733' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:40.371978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:40.372914' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:40.376611' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:40.378392' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:40.381070' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:40.384292' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 18:52:40.385107' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:40.386018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:40.387018' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:40.389924' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:40.390833' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:40.394891' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:40.397762' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 18:52:40.398639' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 18:52:40.399543' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:40.400770' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.446386' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:40.455213' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.456063' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.519592' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.527243' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.7ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.638510' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.648655' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:40.653617' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 18:52:40.658825' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:40.659770' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.734464' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.741982' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:40.745773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:40.749716' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:40.750596' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.751318' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:40.752584' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.828182' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.835191' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:40.840203' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.915982' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.923635' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:40.927759' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:40.928716' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (2.3ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:40.932469' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:40.959319' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 18:52:40.968915' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 18:52:40.969872' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.021737' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.028638' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.032088' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.033023' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:41.037714' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:41.038411' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:41.041729' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:52:41.042581' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:41.045388' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:41.049120' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:41.052613' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.053488' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:41.054277' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:41.055467' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 18:52:41.058999' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 18:52:41.059740' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 18:52:41.062607' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 18:52:41.063391' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.135254' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.143565' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.144556' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:41.147242' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:41.148066' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-14 18:52:41.152766' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (9.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.248600' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.258648' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:41.263398' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 18:52:41.267897' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.269014' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.270046' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:41.271756' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 18:52:41.293011' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 18:52:41.293977' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 18:52:41.297466' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 18:52:41.298346' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.8ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.391756' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.402286' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:41.407280' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 18:52:41.412289' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.494847' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.507214' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.508501' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 18:52:41.512115' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.513124' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:41.517109' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 18:52:41.518220' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 18:52:41.520847' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 18:52:41.521780' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.569281' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.576734' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 18:52:41.578415' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.653379' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.661075' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 18:52:41.664734' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (65.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.780205' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 18:52:41.789964' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 18:52:41.790743' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:41.838608' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:41.839575' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.847362' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.848858' WHERE "inkwell_timeline_items"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.850840' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.852455' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.854116' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.855741' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 18:52:41.857428' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (207.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:42.139454' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:42.158949' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:42.159851' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:42.183202' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:42.231899' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 18:52:42.239804' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:42.240889' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 18:52:42.245529' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 18:52:42.293936' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 18:52:42.301006' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 18:52:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.091588' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (20.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.224638' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.232050' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:06:58.234251' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:06:58.236870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.237804' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.287365' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:58.295612' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.296475' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.347351' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.354916' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (293.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.717098' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:58.738829' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.741178' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:06:58.748826' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.751447' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:06:58.760041' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:06:58.762595' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:06:58.765645' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:06:58.766581' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:06:58.771400' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (18.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.839550' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:58.847102' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.847966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:06:58.852918' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:06:58.853737' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.900757' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:58.908875' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.909911' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:06:58.916293' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.989388' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:58.996647' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:58.999958' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.000949' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:06:59.004532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:06:59.005456' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (60.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.139703' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.154043' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:06:59.155967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:06:59.159231' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.160112' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.205173' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.212501' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.216116' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.216937' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.265265' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.272567' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.275798' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.276733' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:06:59.280851' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:06:59.281624' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 19:06:59.285147' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 19:06:59.285960' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:06:59.289668' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:06:59.292681' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:06:59.296191' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.296953' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:06:59.297798' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:06:59.298984' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:06:59.302313' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:06:59.303081' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 19:06:59.306059' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 19:06:59.307003' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.354935' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.362947' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.363821' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:06:59.366253' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:06:59.367261' WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.416744' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.423933' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.427444' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.428454' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:06:59.432714' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:06:59.433303' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:06:59.439519' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:06:59.443430' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (18.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:06:59.466150' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.467459' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:06:59.468595' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:06:59.469805' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:06:59.473592' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:06:59.474455' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.521315' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.530374' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.531212' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.580329' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.588252' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.589076' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:06:59.591426' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:06:59.592334' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 19:06:59.595298' WHERE "inkwell_community_users"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 19:06:59.596471' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.645802' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:06:59.653328' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (235.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.961237' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:06:59.969753' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.970730' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:06:59.973746' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:06:59.974578' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:06:59.977605' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:06:59.978495' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:06:59.981738' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:06:59.982641' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:06:59.988042' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:00.012278' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:00.013404' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:00.019120' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.067977' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.076055' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.076934' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:00.080101' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.080899' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:00.084601' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:00.092954' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:00.093904' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 19:07:00.096109' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 19:07:00.103193' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:00.104656' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.149551' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.157585' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.158440' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:00.161678' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.162475' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:00.165677' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:00.166503' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:00.173457' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:00.174544' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.222148' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.229216' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.233006' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.233828' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-14 19:07:00.238442' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:00.242562' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.245941' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:00.248884' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.249993' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:00.250853' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.252315' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-14 19:07:00.256476' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-14 19:07:00.257719' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.301289' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.308681' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.311979' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.315773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.364413' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.371682' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.375942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.376881' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.439779' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.448366' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.451724' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.523667' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.531626' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.535572' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.538522' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.582505' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.590566' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.591509' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:00.597266' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:00.598002' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.649159' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.656637' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.660142' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:00.663094' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.664079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.665026' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.666215' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.716870' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.724251' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.774143' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.781325' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.784708' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:00.787825' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.788791' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.789688' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.790827' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.842819' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.850696' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.854886' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:00.858546' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:00.859310' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.860276' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:00.861420' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.906549' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.914000' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:00.918902' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.986068' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:00.993416' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:00.996889' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:00.999836' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:01.000948' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.001800' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:01.002973' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:01.019903' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:01.020882' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-14 19:07:01.024271' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-14 19:07:01.025059' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.099969' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:01.108557' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.109545' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:01.113065' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:01.113917' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:01.140029' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 19:07:01.141109' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.215373' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.223347' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:01.227179' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.228021' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:01.231217' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:01.232117' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 19:07:01.241278' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:01.242019' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.1ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.342942' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:01.351187' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.352217' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:01.355393' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:01.356217' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 19:07:01.361695' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:01.362531' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.433264' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.440661' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:01.444232' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:01.445079' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:01.448044' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.448857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:01.457014' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:01.457953' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:01.462303' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:01.463220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:01.467460' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:01.468281' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.555939' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.3ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:01.566481' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:01 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:01.573175' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (704.9ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (64.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.423075' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.485865' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.495880' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.501193' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.502160' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 19:07:02.506176' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:02.507910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:02.511177' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:02.512296' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.570196' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.577722' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:02.580178' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:02.582481' WHERE "communities"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:02.585918' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:02.586901' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.587742' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:02.589098' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (2.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.660247' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.669094' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.669967' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:02.672591' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.673819' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.676742' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:02.677743' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.681276' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:02.682021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.728864' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.736014' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.740179' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.740910' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 19:07:02.747199' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.792356' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.799701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.803344' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.804115' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:02.808669' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:02.809485' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.812877' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 19:07:02.813935' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:02.817153' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:02.820511' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:02.823455' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.824319' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:02.825095' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:02.826178' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:02.829768' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:02.830526' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.835006' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 19:07:02.835676' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.879811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.887758' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.888711' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:02.890991' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:02.891796' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-14 19:07:02.895844' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.942868' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:02.951338' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.952084' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.954973' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:02.955734' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:02.961235' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.962189' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.965400' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:02.966450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:02.973948' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:02.974814' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:02.990936' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-14 19:07:02.992225' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.045878' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.053711' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.057061' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.058019' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:03.062860' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:03.089549' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:03.093476' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.094403' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:03.095308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:03.096700' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.141194' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.149862' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.151102' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:03.153837' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:03.154642' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.205280' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:03.213645' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:03.214496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.263507' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.264570' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.272509' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.274184' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.275795' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.277530' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.279201' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.280865' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:03.282540' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:03.287177' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:03.288060' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.290150' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.290973' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.291749' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.292557' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.293417' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.294188' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:03.294984' WHERE "inkwell_timeline_items"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.339349' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.347230' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.348089' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:03.350711' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:03.351598' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-14 19:07:03.355465' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:03.356490' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-14 19:07:03.357256' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (278.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.695255' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.765909' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.791577' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:03.796851' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.847085' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.901627' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:03.974586' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:03.975534' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.3ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.040161' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.047825' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.048887' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:04.052148' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:04.053231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 19:07:04.057152' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (52.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (341.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (78.4ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.598787' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.615472' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.620304' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.622119' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:04.628096' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:04.629096' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.680031' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.687499' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:04.689489' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:04.692377' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.693222' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.695310' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.743653' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.751403' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.754966' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:04.755849' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:04.757074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:04.759465' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.760273' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:04.764068' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:04.767438' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:04.770764' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.771733' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 19:07:04.772669' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:04.773792' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:04.775116' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:04.777575' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:04.780538' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:04.781435' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:04.782304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:04.783635' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:04.807883' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:04.808901' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:04.811151' WHERE "inkwell_community_users"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:04.812075' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.858471' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:04.899561' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:04.900617' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:04.903763' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:04.904498' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (535.0ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.515382' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.2ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.3ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.577862' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.588143' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:05.590364' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:05.593998' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.595097' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:05.598652' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:05.600146' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 19:07:05.603612' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.604515' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 19:07:05.607819' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.657034' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.664669' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:05.667890' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.668978' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:05.671973' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:05.672846' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:05.679614' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:05.680262' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:05.684133' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:05.687856' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:05.690945' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:05.691634' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:05.692675' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:05.694010' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:05.696788' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:05.697677' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:05.703068' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:05.703918' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.749389' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:05.757864' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.758788' WHERE "users"."id" = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:05.784505' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:05.785614' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-14 19:07:05.789933' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.862328' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:05.870211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.870922' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:05.874183' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:05.875072' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.906196' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.912505' WHERE "posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.918905' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.924641' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.930834' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.937257' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.942825' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.949024' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.955622' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.961617' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.967374' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:05.973739' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:05.978779' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:05.979661' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.981458' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.982618' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.983998' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Thu, 14 Mar 2013 19:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:05.986173' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-14 19:07:05.986927' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.988746' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.989924' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-14 19:07:05.991027' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:05.995035' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:05.995869' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:05.997016' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:05.998721' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:05.999319' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:05.999903' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:06.000572' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:06.000950' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:06.001651' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.093142' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.101175' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:06.104883' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:06.109137' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.182061' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.3ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.272903' WHERE "users"."id" = 3 SQL (3.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.317123' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:06.320552' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:06.398203' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (503.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (165.7ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.149359' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.170105' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:07.175127' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-14 19:07:07.178349' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (9.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.271606' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.283891' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.287459' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.288350' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:07.292124' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:07.293005' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-14 19:07:07.301713' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:07.302685' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.379943' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.387690' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.466459' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.473636' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:07.477319' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:07.480148' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.481087' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.482109' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:07.483269' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:07.486805' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:07.487715' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:07.491245' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 19:07:07.491826' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.568747' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.576021' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:07.579503' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:07.582851' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.583842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.584743' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:07.585938' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:07.604890' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:07.605943' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.679825' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.689170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.689875' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:07.693004' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.693860' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:07.697508' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:07.698560' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:07.701175' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:07.702018' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.776102' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.784484' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.785643' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:07.814716' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:07.815512' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-14 19:07:07.820764' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.891682' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.899294' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.976259' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:07.984492' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.985433' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:07.988381' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:07.989222' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:07.993035' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 19:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:07.998369' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:07.999106' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 19:07:08.001164' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 19:07:08.006113' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:08.007505' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.086771' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.094960' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.095854' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:08.099034' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:08.099866' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (331.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.512965' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.525291' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.531584' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:08.533173' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:08.538015' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.539086' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:08.543910' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.544836' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:08.549055' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:08.550378' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:08.552822' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:08.553751' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.598949' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.607079' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:08.612471' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.663971' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.739297' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.746810' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.750596' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.751666' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-14 19:07:08.754500' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.804109' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.812016' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.815808' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.816850' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:08.822200' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:08.823120' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:08.826855' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:08.830713' WHERE "communities"."id" = 3  (2.4ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:08.860597' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.861676' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:08.862613' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:08.863613' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:08.867594' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:08.868533' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.917180' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.924585' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:08.926352' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:08.928806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.929737' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-14 19:07:08.933135' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:08.933848' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.985050' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:08.992889' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.993984' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:08.996864' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:08.997679' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:09.001398' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:09.006611' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:09.007450' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-14 19:07:09.009371' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-14 19:07:09.013918' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-14 19:07:09.015236' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.062720' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.115350' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.122991' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:09.124882' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:09.127248' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.128169' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:09.131019' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:09.132062' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 19:07:09.135121' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.136034' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-14 19:07:09.139325' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.191091' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.246870' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:09.271118' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.271922' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:09.274735' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:09.275566' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:09.278286' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-14 19:07:09.279187' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.326440' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.334142' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:09.336258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.385259' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.392911' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:09.396224' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:09.399869' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:09.400818' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:09.401709' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:09.403079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:09.406445' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:09.409752' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:09.410655' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.411538' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:09.412718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:09.415037' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:09.415704' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (22.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (3.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (164.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (132.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.807518' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.829255' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:09.836106' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.837210' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:09.841762' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:09.842923' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:09.852323' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:09.853538' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.912232' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:09.924083' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.924979' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.0ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.976741' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:09.985839' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:09.986494' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:09.995173' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:10.001455' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.002384' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:10.009845' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:10.010851' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:10.013403' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:10.014345' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.062499' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.070003' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.073342' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.075883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.076662' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:10.081469' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:10.082240' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.083421' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.148833' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.157072' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.157955' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.207730' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.215539' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.219369' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 19:07:10.223306' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:10.224356' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.272371' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.279565' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.284953' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.358497' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.366150' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:10.367816' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:10.370559' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.371276' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:10.376711' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-14 19:07:10.377594' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.427189' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.434641' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.438539' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.439348' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.490930' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.545354' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.559856' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.560924' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:10.564768' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.616120' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.623809' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.627551' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:10.630674' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.631720' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.632710' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:10.633918' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.685535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.693028' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.696715' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.697571' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:10.716448' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.717572' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:10.720837' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.721728' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.774360' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.782150' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.786011' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.786934' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:10.790038' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.790926' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:10.802098' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:10.803156' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:10.808885' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-14 19:07:10.809791' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:10.816553' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (25.7ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:10.817557' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.891355' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.898619' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.902806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:10.906023' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.906931' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.907806' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:10.908984' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.911858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:10.914821' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:10.915716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.916695' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:10.918182' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:10.921221' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:10.922075' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.973388' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.981062' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.984667' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:10.985608' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.989956' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:10.993449' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:10.996864' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:10.997824' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:10.998671' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:10.999845' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.047315' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.055354' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.103981' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.111566' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:11.115385' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-14 19:07:11.118965' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:11.119889' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.168585' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.176111' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.177745' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-14 19:07:11.199811' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.254351' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:11.261984' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 19:07:11.264958' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.311651' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.319524' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.323941' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.324903' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:11.327843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:11.328782' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:11.331731' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.332618' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.336298' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.389318' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (2.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.425294' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.426499' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:11.430529' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:11.431594' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (213.0ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.716703' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.729714' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.787735' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.798479' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.803628' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.804846' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:11.814257' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:11.815132' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.867635' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.875298' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.926549' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.933973' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:11.937647' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:11.938446' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:11.941280' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.942004' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:11.944951' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:11.945856' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.002437' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:12.010989' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:12.011754' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:12.078910' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.079864' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.088056' WHERE "inkwell_timeline_items"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.089860' WHERE "inkwell_timeline_items"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.091664' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.093505' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.095172' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.096938' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-14 19:07:12.098696' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.144267' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.152081' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:12.155728' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:12.158936' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:12.160158' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.161146' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:12.162581' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:12.194449' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:12.195979' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.244751' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.252935' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:12.256499' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:12.258891' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:12.259738' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.312298' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.320234' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.370880' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1[0m [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:12.379092' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.379991' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:12.383326' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:12.384812' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.436270' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-14 19:07:12.445121' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-14 19:07:12.446063' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:12.511787' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.513048' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.573195' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.581014' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:12.582810' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:12.585833' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.586591' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:12.589423' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:12.590188' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:12 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-14 19:07:12.593640' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:12.594489' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (646.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (132.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.452890' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.467246' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.471405' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.472530' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-14 19:07:13.475877' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-14 19:07:13.476819' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.520743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.528678' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (2.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.560059' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.561166' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:13.564291' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:13.565004' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:13.568283' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.569086' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.572599' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.622590' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.631163' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.632158' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:13.636722' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:13.637623' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.690004' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.698966' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.699918' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.751550' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.758785' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:13.762696' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.811477' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.819429' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:13.823144' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.871064' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.878276' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.882394' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.883252' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:13.887797' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:13.905744' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:13.909093' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:13.913606' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:13.916666' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:13.917630' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:13.918504' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:13.919676' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:13.923592' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:13.924570' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.969716' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.977347' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:13.979022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:13.981693' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:13.982308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:13.989124' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:13.990965' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:13.993611' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:13.997443' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:13.998330' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:13.999206' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:14.000240' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.048467' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.056654' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:14.060452' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.061471' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-14 19:07:14.065197' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.066116' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-14 19:07:14.068985' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.069814' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (25.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.149843' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.156826' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:14.161143' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.162038' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:14.166961' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:14.167825' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:14.170990' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 19:07:14.171581' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.174701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:14.178481' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-14 19:07:14.180964' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:14.182584' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.183502' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:14.184700' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-14 19:07:14.188532' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-14 19:07:14.189580' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:14.192727' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-14 19:07:14.193538' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.236795' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.245010' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:14.246676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.299042' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.306752' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:14.310418' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:14.314067' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.362286' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.369678' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:14.373250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:14.374095' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:14.377493' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:14.378385' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:14.380728' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:14.383320' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.384057' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.405332' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-14 19:07:14.407217' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:14.409922' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:14.413510' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-14 19:07:14.414365' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-14 19:07:14.415223' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:14.416382' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-14 19:07:14.418980' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-14 19:07:14.419771' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-14 19:07:14.424488' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-14 19:07:14.428313' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-14 19:07:14.429080' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-14 19:07:14.429967' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-14 19:07:14.431072' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (231.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (414.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:15.148701' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["title", nil], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 14 Mar 2013 19:07:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-14 19:07:15.161762' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-14 19:07:15.163311' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-14 19:07:15.171269' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-14 19:07:15.172970' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (6.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (25.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:46.906530' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:46.970396' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:46 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:46.974711' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:46.997398' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:46.998367' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:46.999308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:47.000586' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (22.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.091210' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.110022' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:47.119084' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:47.125340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.170336' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.177548' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:47.180981' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:47.183832' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.184832' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.185890' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:47.187143' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.234076' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.242081' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.243081' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:47.273048' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.339227' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.346771' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.398529' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.406343' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.410299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.411095' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:47.414026' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:47.414808' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 10:59:47.417893' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.437334' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.442011' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.491813' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.499528' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.502993' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.503965' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:47.509061' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:47.512484' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:47.515775' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.516625' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:47.517578' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:47.518839' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.569340' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:47.576850' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 10:59:47.579811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.630147' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.638108' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:47.639711' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.695707' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.703167' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.755466' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.783580' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.784653' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:47.787243' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.788137' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:47.791551' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:47.792521' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:47.795674' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:47.796510' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:47.801092' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.849527' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.858330' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.3ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.914739' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.922239' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.925806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:47.926687' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.3ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.979362' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:47.987372' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (18.5ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:47.990904' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.010692' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:48.016354' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:48.017522' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:48.021194' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 10:59:48.022153' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:48.025342' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:48.028549' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:48.031810' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.032799' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:48.033817' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:48.035084' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:48.038991' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:48.039831' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:48.043079' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 10:59:48.043986' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.109533' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.117432' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:48.120998' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:48.123830' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.124826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.125775' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:48.126964' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:48.130428' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:48.131298' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.184008' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.191515' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:48.193288' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:48.196408' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.197348' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.246999' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.254611' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:48.258220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 10:59:48.261560' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:48.262470' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (13.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.320954' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.327954' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.332301' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.333189' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.377700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (123.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (116.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.678549' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.689994' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.690919' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:48.695253' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.749061' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.756616' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.758073' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:48.774582' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.775585' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:48.783003' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:48.783937' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:48.792098' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:48.793267' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (22.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.865926' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.873877' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.877754' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.878703' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:48.883252' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:48.884203' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:48.888259' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 10:59:48.889089' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:48.892345' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:48.896038' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:48.898763' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.899729' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:48.900655' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:48.901838' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:48.905428' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:48.906197' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:48.910020' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 10:59:48.911057' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.957605' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.964700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:48.969157' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:48.970105' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:48.972701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:48.973503' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:48.982800' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:48.983710' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:48.987826' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:48.988452' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:48.993166' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:48.994001' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.043889' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.051321' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.055265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.056283' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:49.061798' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:49.062643' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:49.066186' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:49.070008' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:49.072822' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.073962' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:49.074899' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:49.076076' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:49.079671' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:49.080477' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.129701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.137435' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:49.141104' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.143579' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:49.144369' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:49.149192' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:49.150094' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.150786' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.200967' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.209446' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.210272' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:49.228219' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:49.229141' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.273663' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (3.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.307416' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.308469' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:49.312073' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:49.313008' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:49.315721' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 10:59:49.316464' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.367085' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.374927' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.426736' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.3ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (10.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.493149' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.500841' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.504928' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.505815' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:49.509573' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:49.510478' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.562028' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.569651' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.573487' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.574458' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 10:59:49.577006' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:49.578447' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:49.581044' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:49.581831' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.626050' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.633610' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:49.638173' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (237.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.946543' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:49.957927' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.959164' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (1.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:49.963405' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:49.964364' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:49.968844' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:49.970024' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:49.974396' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:49.975291' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.021193' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.028522' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.032043' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.033491' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:50.038194' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:50.039020' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.042333' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.046336' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.049775' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.050966' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.051882' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.069760' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:50.074746' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:50.075405' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (14.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.140484' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.148106' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.151975' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.152938' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 10:59:50.158299' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (24.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.188988' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.193166' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.196600' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.197585' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.198343' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.199441' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 10:59:50.204150' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 10:59:50.205733' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.255158' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.262569' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:50.264557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:50.267448' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.269024' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.271476' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.319706' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.327206' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.330922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.331724' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:50.335681' WHERE "inkwell_community_users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:50.336648' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 10:59:50.340517' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 10:59:50.341139' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.344541' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.347799' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.351117' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.352047' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.353037' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.354265' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:50.357142' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:50.358664' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 10:59:50.361990' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 10:59:50.362818' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.413696' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.421181' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:50.423197' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 10:59:50.424340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.474981' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.483608' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.484532' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:50.489483' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:50.490294' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.7ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.541410' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.590583' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.597937' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.601560' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.652597' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.675865' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.679611' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.680529' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:50.683626' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:50.684729' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:50.691575' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:50.692388' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.738869' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (2.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.3ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.817882' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.825863' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.829850' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.833196' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.834086' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.834986' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.836156' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.839074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.842081' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:50.843205' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.844082' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.845239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:50.848058' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:50.848982' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.895762' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.904289' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.905225' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:50.909749' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:50.910764' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.957136' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.964497' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.968155' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:50.969094' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:50.973293' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:50.974220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.978761' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:50.982568' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:50.985440' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:50.986309' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:50.987291' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:50.988548' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:50.991937' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:50.992933' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.039599' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:51.049296' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.050201' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:51.053901' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:51.054818' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.102479' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:51.109861' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (232.6ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (61.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.462462' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.479264' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:51.483761' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.569056' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.579361' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:51.585099' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.635642' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.643959' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:51.647569' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (26.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:51.648490' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.3ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:51.678643' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.679625' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 10:59:51.683103' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.683964' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.732238' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.789347' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.797421' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:51.802732' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.857063' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:51.864826' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.865824' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:51.869178' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:51.870165' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 10:59:51.875966' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.925511' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:51.933387' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.934251' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:51.937211' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:51.938327' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:51.941779' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:51.947108' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:51.947949' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 10:59:51.949827' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 10:59:51.954369' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:51.955789' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.003659' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.011361' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.012278' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:52.016810' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:52.017809' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.063893' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.071217' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.075048' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.075868' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:52.079489' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:52.080734' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 10:59:52.105233' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:52.106351' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.157512' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.165134' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.169195' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.170793' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 10:59:52.175767' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.222725' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (4.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.258086' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:52.260181' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:52.263287' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.264192' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.311549' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.320451' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.321309' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:52.323981' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:52.324864' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 10:59:52.329487' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.378682' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.386252' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:52.388084' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:52.391029' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:52.395121' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:52.396087' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.397123' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:52.398391' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (252.1ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.719753' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.738707' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.739912' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:52.751374' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:52.759186' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.760273' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:52.768332' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:52.769316' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:52.771681' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:52.772514' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.821868' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.829084' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.832557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.833496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:52.836471' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:52.837387' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 10:59:52.840816' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.841795' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.892088' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.899838' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.903407' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:52.904173' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:52.905477' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:52.907969' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:52.908953' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:52.927842' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:52.932050' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:52.935660' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:52.936345' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 10:59:52.937295' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:52.938582' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:52.939915' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:52.942205' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:52.945182' WHERE "inkwell_community_users"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:52.946139' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:52.947039' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:52.948336' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:52.958740' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:52.959637' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:52.961989' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:52.962834' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (8.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.053874' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.061536' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.106247' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.113631' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:53.116921' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 10:59:53.120747' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:53.122172' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (100.4ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.281566' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.295387' WHERE "users"."id" = 2 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:53.300109' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.350481' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:53.359544' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.360452' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.413230' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.467845' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:53.476316' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.477200' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:53.480289' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:53.481196' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 10:59:53.486511' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:53.487362' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.535942' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:53.544825' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.545806' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:53.548910' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.549769' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:53.552830' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:53.553768' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:53.555944' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:53.556895' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.612885' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.638165' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:53.642536' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:53.646540' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.691572' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.699553' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.746509' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.754404' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:53.756345' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:53.759446' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.760355' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:53.766531' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:53.795598' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:53.799063' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:53.802398' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:53.803438' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:53.804342' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:53.805518' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.881949' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:53.891376' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.892352' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.973701' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:53.985237' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:53.986362' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.060654' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.068584' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:54.072625' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.073557' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 10:59:54.076986' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (12.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (12.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (12.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (9.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.175840' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:54.186072' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.187412' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:54.191175' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:54.192132' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:54.196306' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 10:59:54.198218' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.273242' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.356292' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.363731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:54.367389' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:54.368292' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:54.372923' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:54.376311' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:54.379845' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:54.380767' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:54.381613' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:54.382530' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (805.2ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.270683' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.287668' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.288846' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:55.310189' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:55.311346' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 10:59:55.316271' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.361555' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.369245' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:55.373377' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:55.377076' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.378038' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.378989' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:55.380160' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:55.384790' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:55.385661' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 10:59:55.388852' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 10:59:55.389726' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.435375' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.442865' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (2.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.473042' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:55.474014' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:55.477121' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.478071' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 10:59:55.481074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.481908' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.528005' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.536127' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.537251' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:55.540574' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:55.541251' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.587458' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.594681' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:55.598559' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:55.601898' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.602780' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.603651' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:55.604870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.652435' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.659971' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:55.663508' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:55.666672' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:55.667602' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:55.668504' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:55.669726' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:55.673235' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:55.674133' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 10:59:55.677285' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 10:59:55.677984' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (301.1ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (95.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (11.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.137270' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.149413' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.150500' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.200954' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.208266' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:56.213176' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (268.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.537013' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.547206' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.613078' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.620965' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.624591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.625487' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:56.628887' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:56.629971' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 10:59:56.633432' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.634334' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.637511' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.686570' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.695092' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.698813' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.699807' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:56.703350' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:56.704301' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (3.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 10:59:56.742024' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:56.743114' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.796876' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.804777' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:56.806710' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:56.809264' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.810110' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:56.813066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:56.814013' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 10:59:56.817205' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.818234' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.871066' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.878989' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.879930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:56.882232' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:56.883250' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.930022' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:56.938129' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.939025' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:56.941796' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:56.942590' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.986473' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:56.993475' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:56.997496' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.046612' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.103198' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.111200' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.112100' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:57.115798' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:57.116776' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.165698' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.7ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:57.191959' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:57.192827' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.245150' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.246168' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.254324' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.256155' WHERE "inkwell_timeline_items"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.257982' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (3.5ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.259991' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.291311' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.293240' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:57.295240' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:57.300396' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:57.301356' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.303506' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.304373' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.305229' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.306171' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.306980' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.307778' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:57.308648' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.353892' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.361596' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.362688' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:57.365344' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:57.366242' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 10:59:57.370158' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:57.371017' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 10:59:57.371852' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.420579' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.427505' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:57.432081' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:57.435127' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.481700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.489388' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:57.493174' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:57.496518' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.497348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:57.498220' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:57.499278' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:57.502077' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:57.505848' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:57.506661' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.507657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:57.508965' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 10:59:57.511268' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 10:59:57.512060' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (247.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.833734' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.841267' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.842858' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.889068' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:57.897295' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.898077' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:57.901142' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.902112' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:57.923613' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:57.924612' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:57.928293' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:57.929222' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:57.935657' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:57.941611' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:57.942403' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:57.948287' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:57.994768' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.002700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:58.006218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.009076' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:58.009994' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.059361' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (3.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.098396' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.102275' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.103211' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:58.107320' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:58.108323' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.152648' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:58.161282' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:58.162196' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.211922' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.213056' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.221112' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.222777' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.224542' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.226092' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.227761' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.229443' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 10:59:58.231056' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.275166' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:58.283831' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:58.284627' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.351299' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.352146' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.406988' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.421335' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.422473' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:58.426447' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (3.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.500109' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.511305' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:58.516856' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.565020' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.572360' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:58.576093' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:58.579382' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.580465' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.581291' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:58.582558' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:58.586484' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:58.587424' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.639224' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.693360' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.700429' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.704379' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:58.705201' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:58.707902' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.708911' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:58.719277' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 10:59:58.720312' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 10:59:58.725572' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 10:59:58.726203' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:58.733301' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:58.734062' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.778698' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.786299' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:58.790108' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.790719' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 10:59:58.817079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:58.818129' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.865870' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.873556' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:58.877735' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:58.881894' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.926723' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.934862' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:58.936991' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:58.939696' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.940354' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:58.943665' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:58.944450' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:58 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 10:59:58.947216' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:58.948086' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 10:59:58.951817' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (4.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.031652' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.087126' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.095878' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.145700' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:59.154044' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.154835' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 10:59:59.158571' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 10:59:59.159450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 10:59:59.163437' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.208666' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:59.217067' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.218075' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:59.221278' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.222120' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.253257' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.260005' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.266526' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.273805' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.280088' WHERE "posts"."id" = 5  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.305903' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.313082' WHERE "posts"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.320115' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.327107' WHERE "posts"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.333444' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.340376' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.347216' WHERE "posts"."id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:59.352558' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:59.354108' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.355996' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.357310' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.358556' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:59.360825' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 10:59:59.361676' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.363612' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.364890' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.366103' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:59.370467' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:59.371546' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 10:59:59.372598' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.374406' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.374873' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.375824' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.376434' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.377136' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.377807' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (89.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (96.4ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.667817' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:59.680321' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.682465' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 10:59:59.687302' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.688536' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 10:59:59.694390' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 10:59:59.699526' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 10:59:59.700470' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 10:59:59.702425' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 10:59:59.708937' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 10:59:59.710518' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.757811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.765030' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 10:59:59.767079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 10:59:59.769793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.770569' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 10:59:59.773796' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 10:59:59.774688' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 10:59:59.777370' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.778240' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 10:59:59.781997' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.838794' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.846638' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 10:59:59.850385' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 10:59:59.853275' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 10:59:59.854244' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.855222' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 10:59:59.856409' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 10:59:59.931921' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:00.000359' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.001372' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 10:59:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.2ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (15.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (15.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (13.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (10.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.130013' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:00.141790' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.143196' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:00:00.148246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:00:00.149137' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.226720' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.234676' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:00.270248' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.271302' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.336512' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.344345' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:00.348323' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.349192' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:00:00.353000' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:00:00.353999' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:00:00.356167' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:00:00.358680' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:00.359501' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:00.363417' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:00:00.365410' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:00:00.367978' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:00:00.370978' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:00:00.371725' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:00.372599' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:00:00.373997' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:00:00.376921' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:00:00.377776' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:00:00.382283' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:00:00.385306' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:00:00.386166' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:00:00.387090' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:00:00.388198' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.464059' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.471754' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:00.475109' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:00.475916' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:00:00.479057' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.480115' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:00:00.483389' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.484190' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:00.489004' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:00:00.489569' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:00.493096' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:00:00.494003' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.572982' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.580359' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:00:00.582180' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:00:00.585294' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:00.586076' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:00:00.589193' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:00:00.590153' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (419.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (302.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.393478' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.450584' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.459861' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.461097' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:00:01.464353' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:00:01.465359' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:00:01.469229' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:00:01.470210' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.516385' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.524445' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.528432' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.529496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:01.532844' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:00:01.533893' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:00:01.541162' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:00:01.542490' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:01.547853' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:00:01.552544' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:00:01.555737' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.556632' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:00:01.557414' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:00:01.559923' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:01.563387' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:00:01.564480' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (1.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (2.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:00:01.600570' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:00:01.601524' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (23.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.670111' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.678067' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.682035' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.682905' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:00:01.687422' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:00:01.688275' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.737927' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.745555' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:00:01.749118' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.801230' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.810213' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:00:01.812219' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:00:01.814497' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.815423' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:01.821036' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:00:01.822000' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.875245' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.883274' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.884865' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:00:01.887811' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.888626' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:00:01.892552' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:00:01.898048' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:00:01.898902' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:00:01.900535' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:00:01.905363' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:00:01.906650' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (19.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.975535' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:00:01.984808' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.985802' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:01.989460' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:00:01.990297' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:00:01.996845' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:01.997756' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:02.001300' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:00:02.002318' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:00:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:00:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:00:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:00:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:00:02.011062' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:00:02.012654' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:00:02.016170' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:00:02.017205' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.096758' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.152004' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:02:57.154695' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:02:57.157319' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.158241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (20.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.225971' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.235363' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.289623' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.315224' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.316275' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:02:57.324326' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:02:57.325473' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:02:57.328767' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:02:57.329614' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.374790' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.383327' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.384279' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.429866' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.481498' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.490484' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.491381' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:02:57.501565' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:57.533423' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.534332' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:57.542784' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:57.543782' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:57.546432' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:02:57.547248' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.600932' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.656381' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.665313' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.666241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:57.669363' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.670203' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:57.673192' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:57.674209' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:57.677021' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:02:57.677858' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.725008' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.783386' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.790899' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:02:57.792882' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:02:57.795252' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.796160' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:57.801061' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:02:57.801972' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.859149' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.866541' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.870432' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.871384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:02:57.878054' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.950717' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:57.959015' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.959897' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:57.962713' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:57.963623' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:02:57.967176' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:02:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:02:57.976875' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:02:57.977853' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:02:57.980104' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:02:57.986328' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:02:57.988609' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.066949' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:58.114962' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.116039' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:58.119178' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.120035' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:58.123499' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:58.124403' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:58.127181' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:02:58.128189' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.2ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:58.133585' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.210381' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.289843' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.297893' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:02:58.299881' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:02:58.302627' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.303507' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:02:58.306560' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:02:58.307363' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:02:58.310372' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.311223' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:02:58.314532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (9.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.390632' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.398444' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:02:58.402780' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:02:58.405937' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:58.406905' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.407740' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:02:58.408909' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.484309' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:58.492051' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:02:58.495966' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (820.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.381052' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.393608' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.397904' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.398735' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:02:59.403873' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:02:59.404792' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:02:59.407793' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:02:59.408636' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:02:59.412129' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:02:59.415380' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:02:59.418951' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.419863' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:02:59.420682' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:02:59.421803' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:02:59.425980' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:02:59.426861' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:02:59.430035' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:02:59.430883' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.475295' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.482484' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (13.7ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:02:59.500070' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:02:59.504218' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.505204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.506137' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:02:59.507746' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:02:59.512486' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:02:59.513268' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.585119' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.594665' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.595612' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:59.598665' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:59.599524' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:59.605079' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.606019' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:59.609096' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:02:59.609932' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:02:59.618064' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.618632' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:59.621509' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:02:59.622409' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.670518' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.722826' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.730657' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.734423' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:02:59.735234' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:59.738202' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.738982' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:02:59.741682' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.742737' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.801640' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.808871' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.812463' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.813342' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:02:59.817160' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:02:59.818030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:02:59.849911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:02:59.851070' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.899420' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.907992' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.908997' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:02:59.911636' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.912518' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:02:59.915697' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:02:59.916752' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:02:59.923880' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:02:59.925091' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.976859' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.984796' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:02:59.988329' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:02:59.989186' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:02:59.992858' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:02:59.993858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:02:59.995908' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:02:59 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:02:59.998405' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:02:59.999204' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:00.002841' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:00.004814' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:00.007167' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:00.010565' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:00.011475' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:00.012461' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:00.013893' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:00.016931' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:00.017801' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:00.022051' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:00.025184' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:00.026112' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:03:00.026940' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:00.028089' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.074057' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.082308' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.086961' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.087857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:00.091475' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:00.092441' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (13.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.149170' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.157467' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.158342' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:00.160793' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:00.161606' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.9ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 11:03:00.166244' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.213507' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.221754' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.222731' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:00.225286' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:00.226134' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:03:00.228525' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:03:00.229333' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.277916' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.299912' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:00.302310' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:00.305475' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.306318' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (219.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (62.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.632544' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.642171' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.643923' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (3.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:00.673403' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:00.674452' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.721452' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.775744' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.783359' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.787012' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.787796' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:00.791015' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:00.791857' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:03:00.794791' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.795620' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.798986' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.846797' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.855165' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.856041' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:00.866067' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:00.867091' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.918563' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.926007' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:00.929344' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:00.929958' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:00.933148' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:00.933993' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:00.967972' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:00.969340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:00.974978' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:00.975836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:00.982669' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:00.983646' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.032202' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.039742' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:01.041875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:01.044520' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.045330' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:01.048202' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:01.049050' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:03:01.051930' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.053048' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.106824' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.114443' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:01.118191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:01.121786' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.122512' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.123444' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:01.124783' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.175411' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.183043' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.187080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.187893' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:01.192155' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:01.193181' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:01.196222' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:01.199669' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:01.202984' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.203854' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:01.204819' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:01.206022' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:01.209229' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:01.210525' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.254116' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.263306' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.264209' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.309841' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.317758' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.318616' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:01.321363' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:01.322268' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.373070' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.380492' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:01.397058' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:01.400767' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.401702' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:03:01.405293' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:01.406091' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.455665' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.463378' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:01.467598' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (4.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.497541' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:01.498592' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:01.504895' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:01.505879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.506553' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (49.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (129.5ms) DELETE FROM "inkwell_timeline_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (124.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.874854' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.889369' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:01.894738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.895885' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.949034' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:01.956444' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.005344' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.012863' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.058673' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.065899' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1[0m  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (10.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (18.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.147983' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.155757' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.159128' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.160028' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:02.166815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:02.167770' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.219340' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.227054' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:02.231074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:02.234336' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.235210' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.236108' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:02.237376' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.284316' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.292095' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:02.295709' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.298423' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:02.299256' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (13.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.364024' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.388279' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.389243' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.394273' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.446365' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.455123' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.456137' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (4.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:02.486835' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:02.487780' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 11:03:02.492291' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:02.493199' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 11:03:02.494138' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.541656' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.549831' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.550790' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:02.554964' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:02.555842' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.605857' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.613483' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.614467' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:02.617415' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.618170' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.657793' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.665992' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.675358' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.683925' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.693944' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.700103' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.706844' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.714251' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.720540' WHERE "posts"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.727849' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.734679' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:02.741433' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:02.746652' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:02.747645' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.749773' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.751009' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.752125' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:02.754792' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 11:03:02.755522' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.757365' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.758590' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:03:02.759820' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:02.779780' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:02.780959' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:02.781878' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.784730' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.785416' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.785853' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.786410' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.786989' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:02.787496' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.839637' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.847226' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.851545' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:02.852464' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (4.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:02.885190' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:02.886414' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:02.890079' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:02.894003' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:02.897222' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:02.898158' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:02.899089' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:02.900572' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:02.904610' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:02.906120' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (283.2ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.251637' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:03.262987' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:03:03.267239' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.323802' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:03.336095' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.337508' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:03.341544' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.343201' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:03.347983' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:03.355201' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:03.356141' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:03:03.358019' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:03:03.362760' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:03.364195' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.409942' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.417605' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:03.420869' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.421943' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.469535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:03.478496' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.479648' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (276.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.804076' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:03.811688' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.812844' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:03.819149' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:03.819964' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.869838' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.877072' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:03.881037' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:03.901506' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.948529' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:03.956986' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (350.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (97.8ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (10.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.474646' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.490686' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:04.493819' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 11:03:04.494929' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.544928' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (4.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.576063' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:04.585454' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:04.589350' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:04.590222' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.591260' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:04.592507' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.638889' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:04.647231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.648235' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:04.652439' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.701242' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.755726' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.763521' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:04.765559' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:04.767925' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.768864' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:04.772209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:04.773289' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:03:04.776235' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.777157' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:03:04.780287' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.829961' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.882532' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.890816' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:04.894190' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.895063' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:04.899521' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:04.900425' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:04.947433' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.009573' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.017284' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.021927' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.090862' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.099351' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.103010' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:05.106985' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (106.8ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.7ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.288758' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.303436' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:05.308362' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.309532' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:05.313104' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:05.314059' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (4.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:03:05.352297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:05.353442' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (227.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.648190' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.662134' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:05.666859' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:05.667680' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:05.668827' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:05.671333' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.672129' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:05.676080' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.679604' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:05.682778' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:05.683699' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:03:05.684557' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:05.685743' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:05.687204' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.689819' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:05.693169' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:05.694063' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:05.695030' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:05.696251' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:05.706151' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:05.707045' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:05.709301' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:05.710697' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.756011' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.763386' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:05.767319' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.768285' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:03:05.770858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:05.772273' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:03:05.774946' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:05.775634' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.824149' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.832122' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.884367' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.891797' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.895448' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:05.898722' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:05.899619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:05.900778' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:05.901983' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.905147' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:05.908182' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:05.909121' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.910010' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:05.911154' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:05.913308' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:05.914247' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.966531' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:05.991426' WHERE "users"."id" = 2 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:05.995453' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.040725' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.048731' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:06.050665' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:06.054072' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.054921' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:03:06.057497' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (18.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (11.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (11.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.146103' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.156424' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (5.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:06.197027' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:06.203302' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.249150' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.257045' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:06.259209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.307630' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.315006' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:06.318553' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.319431' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:06.323703' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:06.324436' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.373922' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:06.382026' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.434811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.442808' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:06.444824' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:06.447486' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.448533' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:06.455987' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:06.458501' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:06.461152' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:06.464153' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:06.465104' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:06.466056' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:06.467319' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (10.8ms) DELETE FROM "users";  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.529407' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.586790' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.594845' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:06.598583' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:03:06.602571' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:06.603656' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (304.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:06.983604' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.009847' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.010987' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:07.014086' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:07.014974' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:07.017585' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:03:07.018502' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.063923' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.072002' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.075305' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.076824' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 11:03:07.082054' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:07.086658' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:07.090661' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:07.094139' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.095016' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:07.096000' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:07.097117' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 11:03:07.102711' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 11:03:07.104012' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.181571' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.189574' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.193289' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:07.194129' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:07.197007' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.198386' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:03:07.201453' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.202263' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.249611' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.258243' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.259179' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:07.262445' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:07.263347' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (322.9ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.642637' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.663567' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.673782' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.676161' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:07.685153' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:07.688427' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:07.705745' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:07.707243' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:07.713190' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:07.718669' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:07.723213' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.724246' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:07.725368' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:07.727506' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:07.730921' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:07.732604' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:07.738270' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:07.739252' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.783454' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.790633' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:07.794885' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:07.795870' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:03:07.798474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (525.9ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (9.5ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.1ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.395944' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.406166' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:08.411372' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.460515' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:08.486729' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.487713' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:08.490877' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.491529' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:08.494782' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:08.495700' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:08.499736' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:08.500579' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.577076' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.585868' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:08.590688' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:08.591805' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:08.595130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.596055' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:08 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:03:08.599311' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:08.600239' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:08.606024' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:08.607070' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:08.610299' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:08.611339' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (511.7ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (34.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:09.244731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:09.255003' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:09.255990' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:09.259369' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:09.260283' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:09.307302' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:09.315099' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:09.317352' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (502.6ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (135.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.002326' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.012341' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.013620' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.016833' WHERE "inkwell_community_users"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.017964' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:03:10.022140' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.065893' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.074256' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:10.078062' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:10.081499' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.082523' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:10.083437' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:10.084865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:10.087967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:10.091743' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:10.092828' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.093762' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:10.094958' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:10.097403' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:10.098395' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (12.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (9.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.165174' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.2ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:10.174037' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:10.174850' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.246859' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.247901' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (5.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.310074' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.326414' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.327484' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:10.331833' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.416739' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.424855' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.426018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:10.430873' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:10.432512' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.484414' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.492102' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.495702' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.496808' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:10.500195' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:10.501137' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:03:10.504177' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.505071' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.558213' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.565624' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.569993' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.571027' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:10.575207' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:10.576120' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.580153' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.581212' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:10.584499' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:10.587908' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:10.591261' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.592154' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:10.593132' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:10.594094' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:10.597988' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:10.598875' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.602511' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.603408' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.649291' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.656834' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:10.661630' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.710755' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.718549' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:10.740886' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:10.744679' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.745789' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.746732' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:10.747863' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:10.752641' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:10.753338' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:10.756553' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:03:10.758154' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.804472' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.812213' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.863468' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.871743' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.872932' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:10.876029' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.876984' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.880788' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.881756' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.885883' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:10.886880' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (28.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.921489' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:10.928901' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:10.929521' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:10.935526' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.984998' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:10.993135' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:10.993973' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:10.996843' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:10.997878' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (340.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.414391' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.432755' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:11.437358' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:11.443256' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.3ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:03:11.450880' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:03:11.453134' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.454360' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:11.455970' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.512743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.522968' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.581046' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:11.627442' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.628354' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.715455' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.723152' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:11.727574' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:11.732145' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.783827' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:11.792450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.793437' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:11.797048' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:11.798101' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:03:11.803833' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:11.804929' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.885633' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:11.894481' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.895459' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:11.898703' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:11.899662' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:03:11.903892' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.950619' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:11.958524' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:11.963549' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.014542' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.022560' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:03:12.024591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (13.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.087359' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.094965' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:12.098468' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.099404' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:12.102459' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:12.103282' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:03:12.106376' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.107285' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:03:12.110488' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (10.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.181649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.190260' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:12.193910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:12.197194' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:12.198163' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.199060' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:12.200247' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:12.204569' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:12.205246' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:03:12.208590' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:03:12.209281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.275778' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:12.284997' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.285958' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:12.289159' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.290092' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:03:12.294297' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:12.299652' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:12.300574' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:03:12.302787' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:03:12.309456' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:12.311026' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (285.5ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (121.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.774059' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.784980' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:12.790552' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.849205' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:12.862781' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.864044' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.945879' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:12.953865' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:12.958078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:03:12.961758' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:12.962560' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.009086' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:13.019529' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:13.020607' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.073651' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.074398' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.082630' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.084293' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.086062' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.087801' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.089830' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.091401' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.093230' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:13.098116' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:13.099048' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.101221' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.102075' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.102873' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.103661' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.104562' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.105373' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:03:13.106143' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.151585' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:03:13.160256' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:03:13.161215' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.235278' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.236155' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.244834' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.246552' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.248352' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.250196' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.251937' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.253821' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:03:13.255548' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.300468' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.308085' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.312180' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (4.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.337647' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:13.347238' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:13.348155' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.353105' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:13.356953' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:13.360991' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.361923' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.362829' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:13.364035' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:13.367269' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:13.368087' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.447652' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.456407' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.461209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.462251' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (1.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:13.467891' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:13.468856' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:03:13.472478' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:03:13.473462' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.477082' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:13.481325' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:13.484395' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.485341' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.486196' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:13.487547' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:13.491336' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:13.492220' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:03:13.496109' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:03:13.497305' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.571867' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.580991' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.581991' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:13.585380' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:13.586051' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 11:03:13.590635' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.670769' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.679141' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:13.682988' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:13.706403' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.707520' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.708512' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:13.709817' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:13.713186' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:13.713931' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.785415' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.794195' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.795122' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.860778' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.869208' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.872843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.873754' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.879469' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:13.883221' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:13.886278' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.887292' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:13.888304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:13.889636' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.971893' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.981889' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:13.986245' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:13.987288' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (3.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:14.024938' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:14.029636' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:03:14.032839' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:14.033810' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:14.034835' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:03:14.035986' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (838.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (271.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (9.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (9.8ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.223109' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.234450' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:15.238991' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.239793' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:15.243053' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:15.243957' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:03:15.250086' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:03:15.251039' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.299993' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.307628' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:15.311556' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:15.312552' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:03:15.315447' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.316525' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:15.325038' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:03:15.326634' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:03:15.330712' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:03:15.331627' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:03:15.336827' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:03:15.337699' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.388087' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:15.396566' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.397445' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:03:15.401955' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:03:15.402824' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.475145' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.483423' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:03:15.489359' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (95.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.641514' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.705701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:03:15.714002' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:03:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:03:15.718010' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:03:15.718890' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.384503' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:03.447283' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.448390' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (20.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (8.6ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.549087' WHERE "users"."id" = 3 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:03.569295' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.570452' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:03.573247' WHERE "users"."id" = 3 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:03.575148' WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (1.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.631720' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.640550' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:03.642531' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:03.646637' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.647636' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (14.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.720366' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (22.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.805850' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:03.825508' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:03.827914' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 11:11:03.829085' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (10.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (394.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.283248' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.310153' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:04.315942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.316987' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:04.328904' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:04.330218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:04.340373' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:04.353559' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:04.354485' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:04.360124' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:04.369370' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:04.372158' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:04.375989' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:04.377003' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:04.377886' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:04.385543' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:04.388654' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:04.389344' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (6.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:04.454503' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:04.464395' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:04.465290' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:11:04.466188' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:04.470924' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.530937' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.548066' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.630847' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.3ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.724119' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:04.747608' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.748913' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:04.767425' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:04.772603' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (10.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.835688' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.5ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:04.862354' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.870019' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:04.872994' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:04.874208' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:11:04.881106' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:11:04.882029' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.933700' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (2.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:04.950648' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (4.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:05.009418' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:05.014124' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.021626' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.023738' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:05.025552' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.085924' WHERE "users"."id" = 3 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.099492' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:05.122299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:05.134858' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.135968' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.136727' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:05.138825' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.200106' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (5.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.233984' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.241865' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (1.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:05.248272' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:05.249220' WHERE "communities"."id" = 1  (2.9ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.311296' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.326077' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.329626' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.330542' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:05.334265' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:05.335134' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:05.338704' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.339533' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.9ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.343394' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.406300' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.427370' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.431338' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:05.463483' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:05.482654' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.484245' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:05.492955' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:05.494006' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:05.497318' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:05.498180' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (11.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.557046' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.575168' WHERE "users"."id" = 2 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:05.580390' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.6ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.649173' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (4.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.672968' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.674416' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:05.687866' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.691157' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:05.713548' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:05.718200' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (1.2ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:05.740731' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.1ms) SAVEPOINT active_record_1  (1.3ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:05.745216' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (2.2ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (148.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (1.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.961701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.9ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.980515' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:05.992683' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:05.994934' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.006541' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.007783' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (1.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:06.022130' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:06.025672' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:06.035431' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:06.040225' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:06.043776' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.044701' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:06.045640' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:06.047533' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.050227' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.050914' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:06.057303' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:06.058214' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.8ms) rollback transaction  (27.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (11.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.145185' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.5ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.169039' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.179590' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.180556' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:06.190214' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:06.191264' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.304437' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.321246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.322706' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:06.325837' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.326715' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.330598' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.331407' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.335107' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:06.335974' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.341607' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.347576' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:06.348508' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.354012' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.412556' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.435389' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.436546' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:06.446355' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:06.449225' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (2.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.517291' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.532732' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.539820' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (7.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.540731' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.551563' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.552431' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:11:06.572727' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:06.581029' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.648009' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.665191' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (6.9ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:06.676561' WHERE "communities"."id" = 2  (4.5ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.684407' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:06.685604' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.741214' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.759671' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (1.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:06.770344' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.821888' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.830651' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.831573' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.888013' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:06.938668' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:06.940334' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:06.947913' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:06.951832' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:11:06.969455' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:06.970775' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (206.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (3.7ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.282629' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.296279' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.2ms) rollback transaction  (8.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.359749' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (6.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.373576' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:07.382022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.435016' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:07.453938' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.461288' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:07.464148' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:07.465080' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 11:11:07.474755' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:07.476418' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 11:11:07.477274' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.537700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.554804' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.614311' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:07.634207' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.635914' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:07.643483' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:07.645952' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:11:07.659296' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.719181' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.737006' WHERE "users"."id" = 2 SQL (6.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:07.751400' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.754390' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 11:11:07.768592' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:07.777680' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:07.788005' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (1.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:07.796902' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:07.798238' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:07.799366' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (2.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:07.802843' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 11:11:07.812941' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 11:11:07.815481' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (4.7ms) rollback transaction  (58.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.926867' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.936419' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:07.940448' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:07.944585' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:07.945638' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:07.946645' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:07.947916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:07.951353' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:07.954976' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:07.955987' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:07.957135' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:07.958488' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:07.961285' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:07.962191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.8ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.031886' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:08.042613' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.043384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:08.047056' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:08.048065' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (3.9ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:08.081700' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:11:08.083459' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.134682' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.143929' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:08.146313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:08.149535' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.150414' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:08.154110' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:08.155035' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:11:08.159026' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.159908' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.210512' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.9ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.218620' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:08.224716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.225456' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:11:08.229044' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:08.230461' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:08.232873' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:08.233700' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.8ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.283392' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.292080' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:08.293942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:08.296533' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.298191' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:08.301944' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:08.302792' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:11:08.306571' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.307551' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:11:08.311775' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (352.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.714478' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:08.723798' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.724732' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:08.729809' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:08.730759' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.777494' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.784974' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.832021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.839179' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:08.842961' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:08.846093' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:08.846979' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:08.847796' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:08.849054' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:08.852004' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:08.855113' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:08.855870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.856637' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:08.857795' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:08.860284' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:08.861317' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.908811' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.929748' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:08.931679' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:08.934842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.935736' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:11:08.939105' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:08.939719' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:08.985627' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.019790' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.021067' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:09.024637' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:09.025953' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.071322' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.079115' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.083228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.084119' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:09.091216' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:09.092088' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.145076' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.153282' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.154215' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:09.157208' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.157978' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.188417' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.194783' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.200992' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.206760' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.213128' WHERE "posts"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.219205' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.224531' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.230621' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.237073' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.242673' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.249093' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.254773' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:09.259585' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:09.260512' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.262478' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.263687' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.265153' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:09.267341' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 11:11:09.268207' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.270015' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.271104' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.287451' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:09.292166' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:09.293343' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:09.294436' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.296070' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.296804' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.297366' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.297933' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.298530' WHERE "inkwell_timeline_items"."id" = 23  (0.2ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.299094' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.352731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (22.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (3.6ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.431672' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.439494' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.489090' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.496456' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:09.498472' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:09.502978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.503874' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.507230' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.552543' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.559961' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.563661' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.564455' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:09.568071' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:09.569032' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:11:09.578282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:09.579178' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (11.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.640154' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.699157' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.707399' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.711026' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.712142' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (2.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:09.718584' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:09.719436' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:09.722735' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:11:09.723662' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:09.726644' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:09.730563' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:09.733867' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.734619' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:09.735370' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:09.736623' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:09.740414' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:09.741241' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:09.744764' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:11:09.745702' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.795195' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.802874' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:09.804863' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:09.807285' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.808128' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:09.827900' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:11:09.829016' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.876955' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:09.885016' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.885976' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:09.889340' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.890357' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:09.894421' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:09.900576' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:09.901521' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:11:09.903400' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:11:09.908061' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (4.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:09.936923' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:09.984925' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.038832' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.046883' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.050791' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:10.051623' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:10.054685' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.055497' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:10.058318' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.059698' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (11.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.125051' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.132434' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.136005' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.136940' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:10.139836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:10.140622' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:10.143268' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.144663' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.193008' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.200447' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:10.204026' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:10.207764' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.208780' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.209648' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:10.210826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:10.214626' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:10.215512' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:10.218383' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:11:10.219287' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (339.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.9ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.0ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.623948' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.641577' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.646598' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.647461' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:10.651775' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:10.652605' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:11:10.655982' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:11:10.656854' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:10.660018' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:10.663631' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:10.666572' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.667255' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:10.668219' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:10.669458' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:10.673083' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:10.673923' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:11:10.676833' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:11:10.678140' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.749899' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.775233' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:10.779621' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:10.780624' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (422.7ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (539.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.810911' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.819414' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:11.823861' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.825078' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.873700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (4.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:11.911666' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.912826' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:11.916078' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.917032' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:11.921286' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:11.926515' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:11.927375' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:11:11.929398' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:11:11.935874' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:11.937402' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.984175' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.991827' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:11.996032' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:11.996939' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:12.001264' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:12.002150' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:12.005046' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:12.009390' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:12.012567' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:12.013362' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:12.014209' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:12.015248' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:12.018815' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:12.019640' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.064741' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.072916' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:12.074861' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:12.077489' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:12.080444' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:12.081367' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.082368' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:12.083686' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (324.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (13.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.478039' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:12.523805' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.524779' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.2ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.613547' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.620968' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:12.624773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:12.625584' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:12.628402' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.629450' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:12.632789' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.633645' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.685066' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (4.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.721403' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:12.726101' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.2ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:12.730136' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.804230' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.892191' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.899963' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:12.903926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.904930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:12.908174' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:12.909040' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:12.912034' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.912923' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:11:12.916191' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:12.995262' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.004158' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:13.008129' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:11:13.011935' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:13.012815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.085620' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.093627' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:13.097875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:13.101041' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.102209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.103010' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:13.104282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:13.108516' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:13.109398' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.183958' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.191556' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.195870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.196803' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:13.200212' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:13.201068' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.273825' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.280931' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.302032' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.303034' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:13.308335' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:13.309258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:13.312962' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:13.316270' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:13.320043' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.320986' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:13.321884' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:13.323095' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:13.327093' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:13.327868' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.400308' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.409040' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.410053' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:13.412984' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.413825' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.9ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:13.447758' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:13.454244' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:13.455250' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:11:13.457824' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:11:13.462625' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:13.464109' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.536022' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.543647' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.547229' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.548106' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:13.552340' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:13.553313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:13.558294' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:13.561806' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:13.565007' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:13.565967' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:13.566936' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:13.568123' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:13.571861' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:13.572669' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:13.648731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (190.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (222.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (13.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.119305' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.127168' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:14.130754' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:14.135276' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (8.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.188298' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (1.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:14.200454' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:14.201878' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (21.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.291077' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.292120' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.3ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.303641' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.305800' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.307533' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.309970' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.312022' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.315385' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:14.317790' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:14.324162' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:14.325546' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.328325' WHERE "inkwell_timeline_items"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.329896' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.330682' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.331385' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.332334' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.333327' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:11:14.334471' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.382126' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.389928' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (1.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.467176' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.482125' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.483274' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:14.487224' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.543169' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.551649' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.552864' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:14.556861' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:14.558386' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.604067' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.612421' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:14.616371' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:14.619480' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.620258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.622122' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:14.623416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:14.627139' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:14.627984' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:11:14.630823' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:11:14.631732' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.678701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.686120' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:14.690150' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:11:14.694319' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:14.695199' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.744595' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.797626' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.805611' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.809472' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.810126' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:11:14.815115' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.884456' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.893227' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.894218' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:14.898641' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:14.899670' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.946918' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:14.955452' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:14.956560' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.2ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:14.963914' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (185.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (195.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (57.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.446685' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.455532' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:15.457990' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (2.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.539730' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.548510' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:15.552190' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.597500' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.605397' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:15.609167' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.610078' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:15.614442' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:15.615226' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.662053' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.670645' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:15.674367' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:15.677264' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:15.678227' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:15.683782' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:15.684672' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.685579' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.732264' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.739845' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.786532' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.795256' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:15.798844' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.799766' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:15.804733' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:15.808004' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:15.811392' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:15.812433' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:15.813456' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:15.814843' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.866345' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:15.874021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:11:15.877067' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.946351' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:15.954709' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:15.955659' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:11:15.960079' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.012098' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.020044' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:16.023828' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.024684' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:16.028662' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:16.029686' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:16.036448' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:16.037343' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (21.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (14.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (12.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.124021' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (3.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:16.165147' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:16.166245' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:16.218871' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.219930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.275882' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.284070' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:16.285557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:16.288090' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.288942' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:16.292075' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:16.293044' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:11:16.295909' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.296649' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:11:16.300116' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.349624' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.357423' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:16.361165' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:16.362039' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:16.365466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:16.366308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:16.375941' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:16.377238' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:16.382128' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:16.382863' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:16.408442' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:16.409535' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (587.1ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.070235' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.088464' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:17.096046' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.143333' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:17.151817' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.152868' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:17.156142' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.157059' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:17.160151' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:17.161385' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:17.165873' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:17.166943' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.243617' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:17.252836' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.253847' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.300971' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:17.309255' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.310228' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:17.313092' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:17.314077' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (317.4ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.687777' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:17.702552' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.703797' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:17.707840' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.709165' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:17.714102' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:17.715583' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:17.719283' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:17.720644' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:17.726490' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.772540' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.779871' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:17.784918' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:17.833637' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (116.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (333.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.352336' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.3ms) rollback transaction  (361.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (12.8ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (13.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.825400' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.839903' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:18.869098' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:18.873426' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.923545' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.976276' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.985078' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:18.988824' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:18.992312' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:18.993286' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:18.994149' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:18.995544' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:11:18.999689' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:11:19.000872' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.4ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.054101' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.062334' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:19.064378' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:19.067355' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.068286' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (4.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.105527' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:19.107295' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:19.110066' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:19.114586' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:19.115575' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.116556' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:19.117994' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.166360' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.175260' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.176171' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.221906' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.229716' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:19.233320' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:19.236620' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.237518' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.238275' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:19.239435' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.291517' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.299885' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.300882' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:19.304343' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:19.305402' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:19.308579' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:11:19.309377' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.358768' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.366277' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:19.371691' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.418390' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.425365' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.429199' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.429937' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.435628' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:19.439095' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:19.461258' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.462234' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.463386' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:19.464968' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.542721' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.550271' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.554221' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.555061' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:19.560539' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:19.561473' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:19.564844' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:11:19.565594' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.568944' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:19.572553' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:19.575723' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:19.576930' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:19.577995' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:19.579300' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:11:19.584518' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:11:19.585376' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:19.588600' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:11:19.589569' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.668973' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:19.677070' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (415.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (255.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (12.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.470082' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.478413' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.479267' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:20.483004' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:20.483903' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.531627' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.539116' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:20.542942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:20.546263' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.547236' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.548176' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:20.549463' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.596155' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.603714' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:20.608412' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.656970' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.664282' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:20.668418' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:20.671291' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.720992' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.728894' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.729841' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:20.732241' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:20.733285' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 11:11:20.737510' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.786553' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.794569' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:20.796490' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:20.799348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.800168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.802510' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.871115' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.879509' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.880426' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:20.883590' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:20.884634' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:11:20.889206' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.939805' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:20.949302' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.950230' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:20.953380' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:20.954256' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:20.957798' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:20.958736' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:20.961334' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:20.962260' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.013106' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:21.022057' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.023058' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:21.026782' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:21.027593' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (2.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 11:11:21.061057' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.110593' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.118897' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:21.122360' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:21.123274' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:21.124539' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:21.126885' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.127719' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:21.131601' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:21.135269' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:11:21.138503' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:21.139272' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:11:21.140181' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:21.141390' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:21.142753' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:21.145239' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:11:21.148113' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:11:21.149130' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:21.150198' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:11:21.151398' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:21.161216' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:21.162089' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:21.164097' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:21.164997' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.213551' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.221245' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:21.224528' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:21.225378' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:21.228336' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.229298' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:21.232116' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.232993' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:21.237978' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:21.238879' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:21.241508' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:21.242255' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.2ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.291745' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:21.299197' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.350776' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.379084' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:11:21.381198' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:11:21.383773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.384590' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (221.7ms) DELETE FROM "communities";  (0.6ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.679829' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:11:21.693357' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:11:21.694548' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:21.751753' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:21.752969' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.761815' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.763532' WHERE "inkwell_timeline_items"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (3.9ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.796271' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.798607' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.800374' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.802306' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:11:21.804185' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (282.2ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.152411' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.165193' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:11:22.169080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.219146' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.226913' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:22.231024' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.231912' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:11:22.234452' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.283841' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.291650' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:22.296522' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.349058' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:22.357251' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.358018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:22.361028' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:22.362017' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:22.368100' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.368956' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:22.371973' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:22.372939' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:11:22.380589' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.381421' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:22.384466' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:11:22.385303' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.456407' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.464253' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:22.468217' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:22.469208' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.521652' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.529042' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:22.533126' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:11:22.533969' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:11:22.537253' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.538045' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:22.547171' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:11:22.548294' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:11:22.553372' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:11:22.554225' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:11:22.558541' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:11:22.559466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.604911' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (30.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:11:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:11:22.647021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:11:22.648131' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.8ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.218711' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.275175' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:50.277412' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:50.281428' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.282229' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:16:50.285342' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.286208' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:16:50.289139' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.289944' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:16:50.293265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (145.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.515529' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.526504' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:50.532178' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.533438' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:50.538812' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:50.540178' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:50.543521' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:16:50.546297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.547133' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.550370' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:50.553002' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:50.555303' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:50.558305' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:50.559118' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.559930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:50.561343' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:50.564328' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:50.565231' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:50.569726' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:50.572576' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:16:50.573332' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:16:50.574218' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:50.575647' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.622976' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:50.631079' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.631912' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:50.635051' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:50.636036' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.685385' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.761746' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.769371' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:50.772865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.773956' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:50.778373' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:50.779203' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:16:50.782797' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:16:50.783675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.786382' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:50.789962' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:50.793170' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:50.794192' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:50.795054' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:50.796225' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:50.799346' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:50.800124' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:16:50.803185' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:16:50.804035' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.848533' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:50.856398' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.857263' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:50.866448' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:50.867475' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (16.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.928913' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.936084' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:50.939197' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.5ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:50.988630' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (17.4ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.016609' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.017989' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:51.021495' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:51.022531' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.069611' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.076657' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.081059' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.081926' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.130412' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.185431' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.193312' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.194191' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:51.197280' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:51.198246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:51.201579' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:16:51.202453' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.252288' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.260169' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.261182' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:51.264451' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:51.265332' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:16:51.271421' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.321638' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.328915' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.332445' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.333366' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:51.337374' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:51.338387' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.386512' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.394142' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.443334' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.450615' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.454376' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.455273' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:51.458250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:51.459182' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:16:51.462090' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.462989' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.9ms) rollback transaction  (252.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.771604' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.836156' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.845911' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:51.849559' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:51.869404' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.870289' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.918850' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.926321' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:51.954203' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:51.956046' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:51.959669' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.960637' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:51 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:16:51.963452' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:51.964380' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.023472' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.031809' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.035292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.036197' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:52.039128' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.040094' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:52.050378' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:52.051283' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:52.056380' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:52.057290' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:52.063740' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:52.064362' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (9.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.120396' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.128903' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.130004' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:52.133810' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:52.134698' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.179812' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (20.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.215299' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.216367' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:52.222091' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.277543' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.285200' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.288449' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.289336' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.294338' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:52.297990' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:52.301020' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.302606' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.303473' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:52.304612' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.351123' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.359329' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.360190' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:52.362947' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:52.363875' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 11:16:52.367869' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:52.368973' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 11:16:52.369911' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.418672' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.425584' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:52.427502' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:52.430160' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.431061' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.434290' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.480919' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.488168' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.492456' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.539896' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.547256' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.550931' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.551800' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:52.554799' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.555652' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:52.563999' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:52.565013' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:52.570063' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:52.571014' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:52.574967' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:52.575733' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.622342' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.630062' WHERE "users"."id" = 2 SQL (1.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:52.658403' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:52.662067' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.663151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.664327' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:52.665822' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:52.669868' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:52.670764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:52.673807' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:16:52.674628' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.718856' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.726017' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:52.728007' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:52.730707' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.731483' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:16:52.734705' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:52.735519' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:16:52.738553' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.739350' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.788694' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.796353' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.797455' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:52.800253' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.801161' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:52.805500' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:52.814926' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:52.815889' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:16:52.818327' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:16:52.823060' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:52.824553' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.877488' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:52.885698' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.886619' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:52.889269' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:52.890138' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 11:16:52.894007' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.938885' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.946289' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:52.950095' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:52.953723' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:52.999594' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.009587' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.010369' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.013541' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.014316' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.060990' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.068245' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (251.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.398432' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.411358' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.412961' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.464403' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (4.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.500317' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.501429' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:53.504340' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.505283' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.508486' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.509339' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.513493' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:53.514244' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.520334' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.526140' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:53.527035' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.532855' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.576931' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.584524' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.588281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.589270' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:53.593193' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:53.594249' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.598079' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.598871' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:53.602228' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:53.606232' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:53.609367' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.610215' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:53.611050' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:53.612304' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:53.615492' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:53.616391' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.620780' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.621597' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (12.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.676254' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.683493' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:53.687092' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:53.690147' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.691020' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:53.691883' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:53.693231' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:53.696419' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:53.699167' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:53.699889' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.700997' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:53.702402' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:53.705232' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:53.706164' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.753900' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.761455' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:53.765023' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.766029' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:53.769063' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:53.769650' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:16:53.779204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:53.780092' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (73.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (18.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.937136' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (12.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:53.997112' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.005077' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:54.007183' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:54.009818' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.010663' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (3.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:54.043542' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:54.045437' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:54.048184' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:54.051676' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:54.052809' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:54.053806' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:54.055027' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (15.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (13.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.127038' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.135687' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.136586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:54.139217' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:54.140136' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.188229' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.195722' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.196600' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:54.200190' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.200991' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:54.204892' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:54.210183' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:54.211144' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:16:54.212994' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:16:54.218892' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:54.220378' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.268732' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.276467' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.277374' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:54.280835' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:54.281886' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 11:16:54.286520' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.329563' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.337282' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.338341' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:54.342577' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:54.343467' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.7ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:16:54.348249' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (346.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.3ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.762239' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.774678' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.826040' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.879326' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.901490' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.905837' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:54.906675' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:54.912024' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:54.913326' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:54.916421' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:16:54.917593' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:54.920697' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:54.924307' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:54.927294' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:54.928384' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:54.929492' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:54.930816' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:54.935550' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:54.936489' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:16:54.939962' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:16:54.940853' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.015681' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.023750' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:55.027393' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:55.030657' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.031666' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.032600' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:55.033875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.081671' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.088889' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:55.093643' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:16:55.097059' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:55.098239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.148228' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.156149' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.157245' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:16:55.159715' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:16:55.160597' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:55.164452' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:16:55.165368' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.209629' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.216994' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.265065' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.273358' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.274250' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:55.277145' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:55.278163' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:16:55.283150' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:55.284065' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.334034' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.341291' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.345128' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.345988' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:55.348880' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:55.349654' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:16:55.352617' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.353549' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.356649' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.410807' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.478144' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.485428' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.533701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.541700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:55.546366' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:55.549726' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.550804' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.551756' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:55.552840' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:55.556591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:55.557513' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (3.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.631493' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.640075' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.641065' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:55.646051' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:55.647003' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.697042' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:55.705483' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:55.706284' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:55.710902' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:55.711581' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (230.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.004491' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.018639' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:56.025529' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:56.032259' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (11.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.094525' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.102022' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:56.105903' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:56.106813' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.161576' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.169210' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:56.173892' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.225083' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:56.287630' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:56.288682' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (384.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (607.6ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.366204' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.9ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:57.384439' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:57.385280' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.5ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.463561' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.464621' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.472785' WHERE "inkwell_timeline_items"."id" = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.474601' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.476169' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.477950' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.479574' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.481375' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:57.482965' WHERE "inkwell_timeline_items"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.528316' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.537965' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.538788' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.586693' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.595239' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.596182' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.642586' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.650319' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.651193' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:57.655892' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:57.656659' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.3ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.707418' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.715730' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.716632' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:57.720183' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.721225' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:57.724498' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:57.725318' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:57.728845' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:57.729854' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.779995' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.803355' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:57.805502' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:57.808195' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.809243' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.855450' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:57.866085' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.867095' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.911684' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.919390' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:57.921815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (15.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:57.991145' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:57 UTC +00:00]] Inkwell::Following Load (1.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.028249' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.032419' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.033308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:58.037735' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:58.041323' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:58.044387' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.045898' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:58.046779' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:58.047976' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (18.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (14.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.134040' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.141273' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.195141' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:58.203758' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:58.204615' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.254109' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.255090' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.263031' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.264564' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.266205' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.267910' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.269513' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.271084' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:58.272918' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:58.277849' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:58.278670' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.280904' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.281787' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.282567' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.283524' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.284293' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.285107' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:58.285856' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.334686' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.342076' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.409072' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.418331' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.419334' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:58.428131' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:58.434770' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.435715' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:58.443271' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:58.444181' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:58.447767' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:58.448857' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (250.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (4.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.791765' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.799971' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:58.803801' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:16:58.807132' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.808130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.809241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:16:58.810992' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.859732' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.867421' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.871151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:58.871961' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:58.874914' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.875714' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:16:58.878453' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.879343' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.932300' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.939979' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:58.943676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:58.946269' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:58.947127' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:58.998708' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.007211' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.010790' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.011453' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:59.014552' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:59.015391' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:16:59.021852' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:16:59.022696' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.071199' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.079385' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.080290' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:59.083168' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.084083' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:59.086976' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:59.087853' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.095281' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:16:59.096442' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.145389' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.170937' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:59.175659' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.222996' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.230632' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:59.234654' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.285218' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.293245' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:16:59.295430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:16:59.301678' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.302573' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.306418' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (29.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.384713' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.393922' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.395010' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:59.398248' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.399199' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:59.402397' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:59.403318' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:16:59.406111' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:16:59.407070' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:16:59.412027' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.459385' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.467157' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.471052' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.471890' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:16:59.475259' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:59.476068' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.522505' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.530346' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.531428' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:59.534368' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.535209' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.565924' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.572383' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.578798' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.584537' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.590677' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.597339' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.603089' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.627657' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.634759' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.641127' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.647150' WHERE "posts"."id" = 11  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.653977' WHERE "posts"."id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:59.659059' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:16:59.660069' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.662029' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.663216' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.664487' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:16:59.666773' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 11:16:59.667565' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.669333' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.670734' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:16:59.671924' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:59.676411' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:59.677473' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:16:59.679155' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.681018' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.681617' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.682164' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.682759' WHERE "inkwell_timeline_items"."id" = 22  (3.5ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.683211' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:16:59.712571' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.9ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.765557' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.773295' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.776883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.777857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:16:59.780987' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:16:59.781974' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:16:59.784996' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.785938' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.789249' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.842677' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.850258' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.897280' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:16:59.905489' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.906308' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:16:59.910933' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.966041' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:16:59.974355' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:16:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:16:59.979412' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.029089' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.036771' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:00.038768' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 11:17:00.039782' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (21.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (346.9ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (289.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.753201' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.766261' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:00.773323' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:17:00.777093' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:17:00.778075' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.870979' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:00.878739' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:17:00.881909' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.958770' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.966849' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:00.971552' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:00.972509' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:17:00.974875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.053209' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.061084' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:01.064537' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.140250' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (3.9ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:17:01.180066' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:17:01.181091' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (1.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:01.231410' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.232252' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.296732' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.304259' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:01.308040' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:01.309095' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:01.310371' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:17:01.312835' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:01.313732' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:01.317041' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:01.320821' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:01.323528' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:01.325136' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:17:01.325934' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:01.327047' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:01.328538' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:01.331043' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:17:01.333779' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:17:01.334685' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:01.335564' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:01.336546' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:01.346011' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:01.346861' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:01.349915' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:01.350717' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (1219.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (182.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.823573' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:02.834923' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.836397' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:02.841328' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:02.861180' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:02.867645' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.868504' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:02.871928' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:17:02.872899' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:17:02.880840' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.881651' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:02.884450' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:17:02.885426' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.935393' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.942967' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:02.946915' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:02.947775' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:02.950704' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.951541' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:02 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:17:02.954725' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:02.955660' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:02.960510' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:02.961480' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (3.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:02.995829' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:17:02.997048' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.045053' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.053317' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:03.057140' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:03.060354' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.061323' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.062278' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:03.063530' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:17:03.067621' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:03.068431' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.117117' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.125382' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.126297' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:03.128335' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:03.129360' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.176726' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.184022' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.187833' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.188781' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:03.192433' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:03.193463' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:17:03.198996' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:17:03.199742' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:03.203847' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:03.207190' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:03.210136' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.210825' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:03.211845' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:03.213080' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:03.215752' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:03.216333' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:17:03.222622' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:17:03.223426' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.268668' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.275689' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.279064' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.279913' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 11:17:03.305199' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:03.309613' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:03.313266' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:03.316337' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.317210' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:03.318071' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:03.319354' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 11:17:03.324182' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 11:17:03.325292' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.369066' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.376990' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:03.378962' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:17:03.381886' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.382704' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:17:03.385826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:03.386610' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:17:03.389904' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.390709' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:17:03.394008' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.443383' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.451066' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:03.453085' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:03.485599' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:17:03.489237' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:17:03.490356' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.491348' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:03.492591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.542879' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.551083' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:03.556022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.607277' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.615151' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.619141' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.620077' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:17:03.627214' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:03.628287' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.681068' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.688732' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:03.690717' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.740271' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:03.748516' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:03.749301' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:17:03.754225' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (278.5ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (18.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (10.6ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.114990' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.130469' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:04.135265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:04.139091' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.139927' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.140904' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:04.142080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:04.145204' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:04.146170' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:17:04.168852' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:17:04.169824' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.220543' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.227857' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.231739' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.232613' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:04.237418' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:04.238225' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:04.243385' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:04.249084' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:04.252908' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.253805' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:04.254716' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:04.256059' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:04.260003' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:04.260905' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.310850' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.366673' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (3.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.407906' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.409206' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (95.6ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.568750' WHERE "users"."id" = 3 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.581174' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.586532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.587602' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.639422' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.648099' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.649186' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:04.652055' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:04.652970' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:17:04.655541' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:17:04.656373' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.705827' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.713700' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:04.717653' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.720080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:04.720900' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:04.726212' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:04.727138' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.728033' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.779224' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.833998' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.841853' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:04.845295' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:04.848659' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:04.849665' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.850534' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:04.851583' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.903718' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.931119' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:04.933322' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:17:04.936605' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.937827' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:04.945300' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:17:04.946156' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:04.997002' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.005585' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:05.009336' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.010463' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:05.015211' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:05.016237' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.066653' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.074396' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:05.076376' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:17:05.079303' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.080161' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:17:05.083637' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:05.084342' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (334.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.489505' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (4.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.594589' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.3ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.651844' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.659979' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:05.663498' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:05.666586' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:05.667503' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.668603' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:05.669962' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.721678' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.729356' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:05.733300' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:05.736531' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.785862' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:05.794940' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.795857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:05.798648' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.799535' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:05.802688' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:05.803588' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:05.806613' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:17:05.807434' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.855380' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.862853' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:05.866788' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:05.870761' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.921041' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.949503' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:05.953217' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:05.954056' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:17:05.956608' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:05.958045' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:05 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:17:05.960568' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:05.961398' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.007422' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.015714' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:17:06.017611' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.065915' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.073961' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.078084' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.078936' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:17:06.084592' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:17:06.085414' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.089483' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:06.093173' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:06.096667' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.097828' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.098906' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:06.100220' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:17:06.104985' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:17:06.106108' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.187752' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.195407' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.199478' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.200395' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:17:06.205441' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.249403' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.257120' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.311131' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.372383' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.380112' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.383656' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.384506' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:17:06.388154' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:17:06.389323' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:17:06.398137' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:17:06.398988' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (300.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.754933' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.770268' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.776490' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.777487' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:06.805348' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:06.806328' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.812062' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:06.815692' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:06.819283' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.820189' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.821146' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:06.822178' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:06.825919' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:06.826898' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.874431' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.882131' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:06.886094' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:06.889373' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.890383' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:17:06.891324' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:06.892593' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:17:06.895369' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:17:06.899031' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:06.899883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.900944' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:17:06.902198' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:17:06.904823' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:17:06.905798' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.957700' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:17:06.966741' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.968373' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:17:06.971848' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:17:06.972847' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (32.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:17:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:17:07.010257' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:17:07.019241' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:17:07.020566' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:17:07.022703' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:17:07.027532' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:17:07.029118' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:29.812822' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:29.895977' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:29.897290' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (1.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:29.901931' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:29.903037' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't')  (0.1ms) rollback transaction  (17.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:29.964785' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:29.972701' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:29.977700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.038157' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.085561' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.100757' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.101759' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:30.106021' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:30.110566' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:30.121117' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:30.130910' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:30.142857' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.143807' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:30.144657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:30.145700' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:30.151591' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:30.152545' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.215137' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.287622' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.304152' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.305398' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:30.315342' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:30.316188' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.4ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.388025' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.6ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.400450' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.411459' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.413008' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:30.419963' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:30.421430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:30.433700' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:30.435825' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (7.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.491823' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.507635' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.513314' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:30.533700' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:30.561494' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.563138' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:30.579331' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:30.585185' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:30.588526' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:30.595261' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (77.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.733080' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (12.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.753270' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.757806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.758796' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:30.769118' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:30.770104' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.830387' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (8.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:30.857953' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.858970' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.946334' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:30.960312' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:30.970745' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (8.5ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.058838' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (2.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.086469' WHERE "users"."id" = 2 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.095074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.096053' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:37:31.098447' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:31.099840' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:31.102908' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:31.103772' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.4ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.177561' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.184276' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:31.188416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:37:31.192324' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:31.193281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.274823' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.290231' WHERE "users"."id" = 2 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:31.293920' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:31.298498' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.300441' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:31.305531' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:31.306948' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:37:31.312390' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.313729' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:37:31.317103' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.389528' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.396334' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.401701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.402649' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:31.405536' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:31.406396' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:31.409283' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.410081' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (8.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.3ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.4ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.503726' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.514809' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.521267' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.522549' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.2ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.595181' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.603476' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.604413' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:31.606921' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:31.607869' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.706149' WHERE "users"."id" = 3 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.716242' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.722017' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.723194' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:31.728800' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:31.729989' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.802784' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.810225' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:31.813809' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.907889' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.916933' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:31.921269' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:31.922108' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:31.925830' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:31.926669' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:37:31.958058' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:31.959252' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.011379' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:32.024005' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:32.024971' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.074263' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.074983' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.083409' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.085219' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.086950' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.088559' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.090238' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.091865' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:32.093586' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.144221' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.151725' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.152623' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:32.156125' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:32.157124' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:37:32.162146' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:32.162967' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.212897' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.220083' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:32.221966' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:32.224320' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.225254' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:32.228406' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:32.229217' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:37:32.232130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.233084' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:37:32.236246' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.288939' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.296035' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:32.299619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:32.302466' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.303509' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.304457' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:32.305798' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (12.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (280.7ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.664000' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.695939' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:32.703917' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.747576' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.755411' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:32.759121' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:32.761983' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.762747' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.763642' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:32.765067' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.811648' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.818933' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:32.820852' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 11:37:32.821982' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.865025' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.920002' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.926976' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.931092' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:32.931879' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:32.936811' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:32.937818' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:32.941100' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:32.944500' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:32.947691' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:32.948736' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:32.949717' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:32.950958' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:32.954526' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:32.955424' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.001290' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.008998' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:33.010848' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.056843' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.111718' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.119994' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.120996' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:33.123976' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:33.125036' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.173900' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.181299' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.182280' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:33.198260' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.199381' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:33.203582' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:33.209259' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:33.210149' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:37:33.211828' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:37:33.216339' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:33.218071' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.264413' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.295711' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.296786' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:33.299795' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.300629' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:33.304454' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:33.309758' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:33.310641' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:37:33.312181' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:37:33.316926' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:33.318355' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.364660' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.371995' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:33.375667' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:33.378893' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.379802' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.380557' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:33.381623' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:33.385600' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:33.386351' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:33.389483' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:37:33.390162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.434056' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.447511' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.448277' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:33.451927' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.501372' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.508535' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:33.510234' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:33.512991' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.514022' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.516548' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.562952' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.570913' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.571816' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:33.574252' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:33.575647' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 11:37:33.579168' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:33.580071' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 11:37:33.581119' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.629701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.636950' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:33.640769' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:33.641553' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (262.9ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:33.983897' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.010331' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.015069' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.015873' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:34.020994' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:34.021913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:34.025134' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:34.028488' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:34.031661' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.032828' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:34.033825' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:34.035069' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:34.039226' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:34.040049' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (2.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.108401' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.116288' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:34.118845' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.162674' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.170546' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:34.174102' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:34.177260' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.178399' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.179287' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:34.180538' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.227461' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.234552' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.238348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:34.239160' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:34.242162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.242953' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:34.251887' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:34.252772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:34.256991' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:34.257879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:34.262710' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:34.263330' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.309245' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.316399' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:34.318311' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:34.323036' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.323859' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.326938' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w')  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.376351' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.384141' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.385233' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:34.388196' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.389008' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:34.391899' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:34.392797' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:34.395562' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:34.396487' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:34.401026' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.449002' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.456814' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.457595' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:34.461120' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:34.461874' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:34.478930' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:37:34.479882' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.529046' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (3.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.610517' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:34.621501' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:37:34.624586' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.674745' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.682107' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.685452' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.686237' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.729748' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.736950' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:34.740750' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:34.744077' WHERE "inkwell_community_users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.745131' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:34.746181' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:34.747360' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:34.750039' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:34.753213' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:34.754119' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.755012' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:34.756234' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:34.759047' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:34.759823' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.812184' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.857939' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.858700' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.922914' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:34.930866' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.931600' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:34.933911' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:34.934706' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 11:37:34.941098' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:34.999176' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.007696' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:35.011416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:35.014737' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.015679' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:35.016648' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:35.017810' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:35.021111' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:35.024192' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:35.025259' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.026299' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:35.027580' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:35.029859' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:35.030676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.111097' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:35.118436' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.171981' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.179463' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.227411' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.235466' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.236356' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:35.239293' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.240108' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:35.242926' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:35.243744' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:35.247989' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:35.248612' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:35.253894' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:35.259364' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:35.260193' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:35.266047' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.310580' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.318410' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.319511' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:35.322131' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.322974' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:35.326845' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:35.332301' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:35.333282' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:37:35.335355' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:37:35.341411' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:35.342876' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (279.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.693258' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.700896' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:35.704496' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.750755' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.759054' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.759962' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:35.762768' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:35.763714' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (14.2ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:37:35.782887' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.826713' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.835183' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.836133' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:35.838949' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:35.840052' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:35.843641' WHERE "inkwell_community_users"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:37:35.844967' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.887130' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.895362' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (24.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.923949' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:35.925171' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:35.928442' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.929307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:35.932072' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.932884' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.0ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.980424' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.987729' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:35.991261' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:35.992139' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:35.995760' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:35.996563' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.048131' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.055870' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:36.059359' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.061802' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:36.062680' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:36.067486' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:36.068365' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.069363' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.119587' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.126559' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:36.128486' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:36.131277' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.132065' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:36.137316' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:36.139232' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:36.141804' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:36.144838' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:36.145822' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:36.146701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:36.147976' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.195619' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.203826' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.204981' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:36.209265' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.256643' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.263593' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:36.267862' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.311530' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.318899' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:36.337115' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:36.341089' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.342055' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.342998' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:36.344170' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:36.347482' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:36.348399' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.394404' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.402239' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.405889' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.406739' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:36.410954' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:36.411828' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:36.418246' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:36.419201' WHERE "communities"."id" = 2  (22.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (2.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:36.448333' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:36.452290' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:36.455529' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.456379' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:36.457325' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:36.458758' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:36.461535' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:36.462385' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:36.467729' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:36.468586' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.513187' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.563738' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.571199' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.575078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.575991' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:36.579668' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:36.580490' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.629500' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:36.637258' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.638462' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:36.643108' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (277.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (12.8ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:36.993407' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.006866' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.012534' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.013448' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:37.018889' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:37.019512' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:37.022176' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:37:37.022882' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:37.026400' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:37.029934' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:37.033100' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.034024' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:37.034902' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:37.035872' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:37.039883' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:37.040844' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:37.043891' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:37:37.044757' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.094735' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.164325' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.172277' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.219731' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.227655' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:37.229523' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.278915' WHERE "users"."id" = 3 SQL (1.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.288808' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.289813' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:37.292881' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.293667' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (2.6ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.351339' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.358046' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.364646' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.370815' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.376951' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.382915' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.388746' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.395146' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.400817' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.406766' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.412974' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:37.419096' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:37.424241' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:37.425192' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.426916' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.428142' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.429434' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:37.431472' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 11:37:37.432209' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.434175' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.435356' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:37:37.436570' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:37.440042' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:37.441166' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:37.442209' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.443842' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.444401' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.444951' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.445495' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.445983' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:37.446452' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.494702' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.501450' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:37.503355' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:37.506392' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.507393' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.570989' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.579095' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.579989' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.629692' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.638521' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.639263' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.689263' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.696942' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (2.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.769075' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.776490' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.780945' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.781862' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:37:37.786459' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.830027' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.837552' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.841459' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.842279' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:37.846474' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:37.847394' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:37.850912' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:37:37.851860' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:37.855625' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:37.859118' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:37.862118' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:37.863066' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:37.864013' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:37.865289' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:37.868815' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:37.869790' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:37.873220' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:37:37.874206' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.917455' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.924727' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:37.928501' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:37.932009' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.984937' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:37.992164' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.040877' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:38.050055' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.051046' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:38.053246' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:38.054092' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't')  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.106495' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:38.130512' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.131484' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.218025' WHERE "users"."id" = 3 SQL (1.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.229254' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:38.232765' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:38.236541' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:38.241351' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:38.242687' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.244399' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:38.246213' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.336532' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:38.349661' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:38.351433' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:38.358379' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:38.360839' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (577.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities"; [35m (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.3ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.023182' WHERE "users"."id" = 3 SQL (32.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:39.066125' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.067093' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.140431' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.148107' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:39.151848' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:39.155434' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:39.156530' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.157309' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:39.158492' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:39.162061' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:39.163013' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:37:39.166468' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:37:39.167288' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.269040' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (8.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.0ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.382243' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.389822' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.471703' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.554802' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.563231' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.1ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.651378' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:39.664393' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.665826' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:39.672399' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:39.673799' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (8.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.768967' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.794981' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:39.798828' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:39.799797' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:39.804517' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:39.807846' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:39.811600' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:39.812270' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:39.813230' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:39.814678' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (573.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (307.3ms) DELETE FROM "inkwell_blog_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.766976' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.781162' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:40.787718' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:40.789172' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:40.793561' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.794427' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:40.805904' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:40.806799' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (1.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:40.838780' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:40.839607' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:40.847000' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:40.848173' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.893350' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.900458' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:40.904474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:40.909178' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:40.957064' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.011471' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.019008' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.022688' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.023523' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 11:37:41.027930' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.032110' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:41.035711' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:41.038908' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.039900' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.041070' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:41.042275' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 11:37:41.046762' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 11:37:41.047812' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.094764' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.101648' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.105819' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.106710' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:37:41.109303' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.154184' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.161412' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:41.165289' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:37:41.169165' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:41.169983' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (16.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.229591' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.237912' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.241526' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.242348' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:41.243629' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:41.246383' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.247153' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.251127' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:41.255264' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:41.258668' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.259629' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:37:41.260651' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:41.261836' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:41.263346' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:41.266085' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:41.269517' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:41.270375' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.271272' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:41.272357' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:41.282909' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:41.283887' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:41.286239' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:41.287265' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.360733' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.368724' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.372430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.373346' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:41.376188' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.377218' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:41.380350' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.381197' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.385655' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:41.386629' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.389892' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:41.390719' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.433228' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.441129' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.442050' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:41.445391' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:41.446342' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:37:41.450462' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.494144' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.501447' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:41.503364' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:41.505657' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.506340' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.510955' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:37:41.511874' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.556670' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.563857' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.567347' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:41.568135' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:41.571265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.572171' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:41.575221' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.576024' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (269.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.924184' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:41.938170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.939058' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.942227' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:41.943120' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (16.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:41.964888' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.965987' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.969516' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:41.970420' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:41 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:41.978256' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:41.979019' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:41.981851' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:37:41.982784' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.030913' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.039180' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.040105' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:42.042852' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.043778' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:42.047395' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:42.048331' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:42.052145' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:42.053209' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.105712' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.113035' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.186455' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.243374' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.250864' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:42.254257' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.303463' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.310905' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.315052' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.315859' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:42.320551' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:42.324057' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:42.327294' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.328344' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:42.329322' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:42.330545' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.377123' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.386077' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.387066' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:42.390085' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.390796' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:42.393936' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:42.394789' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:42.397560' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:37:42.398270' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (200.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (59.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.718243' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.730852' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:42.733926' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:42.738005' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.739862' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.786015' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.793275' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.814191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.815058' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:42.818527' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:42.819455' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:42.822537' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.823334' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.826548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.876569' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.884115' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:42.889079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:42.892595' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:42.893486' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.894353' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:42.895443' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.945508' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:42.953152' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:42.957064' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:42.960899' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.007324' WHERE "users"."id" = 3 SQL (3.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.042585' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:43.047794' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.098099' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.105700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:43.107640' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:43.110363' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.111105' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:43.114198' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:43.115033' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:37:43.117811' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.118646' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.169958' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.177491' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.178281' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:37:43.182493' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:37:43.183281' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.232476' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.240261' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.243977' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.244630' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:43.249176' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:43.250023' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:37:43.253174' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:37:43.254142' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:43.256936' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:43.260649' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:43.263940' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.264599' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:43.265366' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:43.266544' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:43.270394' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:43.271182' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:37:43.275020' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:37:43.275839' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.324389' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.331976' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.333033' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:43.354038' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:43.355028' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:37:43.357603' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:37:43.358329' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (256.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.690936' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:43.707372' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:43.708237' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.759230' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.760270' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (2.9ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.843106' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.850656' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.854511' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.855337' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:43.858334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:43.859247' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:37:43.862198' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.863180' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.866503' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.913421' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.921359' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:43.923330' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:43.925785' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.926573' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:37:43.929834' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:43.930685' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.976506' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.983997' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:43.987570' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:43.988475' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:43.992080' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:43.993095' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:43.995205' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:43 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:43.997902' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:43.998698' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:44.002248' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:37:44.004430' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:44.007006' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:44.009829' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:37:44.010750' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:44.011719' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:44.012980' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:44.015661' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:44.016440' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:44.021097' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:37:44.023847' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:37:44.024470' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:37:44.026041' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:44.027229' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.070593' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.096486' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.097414' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:44.102787' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:44.103818' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.156098' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.211501' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:44.220152' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:44.221032' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.299105' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.300120' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.308299' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.310062' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.311744' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.313559' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.315275' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.316985' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:44.318821' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:44.323066' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:44.324098' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.326606' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.327442' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.328211' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.329158' WHERE "inkwell_timeline_items"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.330126' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.330863' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:37:44.331578' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.377556' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.385601' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:44.389333' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:44.392565' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.439504' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.447401' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.448325' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:44.451558' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:44.452377' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 11:37:44.456947' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.505582' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.513034' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:44.516570' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:37:44.519654' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.520563' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.521457' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:37:44.522514' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:37:44.527200' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:44.528025' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.595779' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.603895' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.607448' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.608326' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:44.611333' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:44.612216' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:37:44.623263' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:37:44.624296' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (262.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.963370' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:44.980688' WHERE "users"."id" = 2 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:37:44.989691' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:44.995075' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:37:44.997605' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.079679' WHERE "users"."id" = 3 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:45.093051' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.094306' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:37:45.097371' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:37:45.098592' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.175435' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.186337' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.235253' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:45.243090' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.244070' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:37:45.247316' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.248355' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:37:45.251644' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:37:45.252436' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:37:45.259421' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:37:45.260477' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.313535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:37:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:37:45.321496' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:37:45.322387' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:37:45.325566' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:37:45.326390' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:22.860151' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:22.912034' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:22.916008' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:22.936438' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:22.937630' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:22.938361' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:22.939716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (15.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.004535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.012561' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:23.015827' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.017393' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.020180' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:23.021607' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:39:23.030574' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:23.031456' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.081330' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.089291' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:23.091092' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 11:39:23.092254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.134541' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.142152' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:23.143804' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:23.146362' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.147081' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.152116' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 11:39:23.153262' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.198743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:23.226578' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.227687' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:23.231199' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.232098' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.235293' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:23.236172' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.238666' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:23.239501' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.286728' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.294994' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:23.297157' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:23.300213' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.301144' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.345666' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.353015' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:23.356568' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:23.357386' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:23.360325' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:23.361149' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.369165' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:23.370774' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:23.374789' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:23.375599' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:23.379966' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:23.380842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (150.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (698.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.293368' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (1.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:24.323868' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:24.325116' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:24.387673' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.388625' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.418330' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.420795' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.422500' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.424094' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.425748' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.427439' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:24.429111' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.479574' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.537570' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.544358' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.597086' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.653856' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.660972' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.710717' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.717952' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:24.721678' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:24.725120' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.793951' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.801558' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:24.805177' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:24.808528' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:24.809350' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.810310' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:24.811289' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:24.815872' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:24.816779' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (28.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.892475' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:24.900472' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.901369' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:24.904818' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:24.905673' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:24.908558' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:39:24.909450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.962795' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.971515' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:24 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:24.975723' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:24.976891' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:24.981777' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:24.982864' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:39:24.991967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:24.992998' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (144.1ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.218603' WHERE "users"."id" = 3 SQL (0.6ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:25.241193' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.242461' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:25.248635' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (242.2ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.589404' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (8.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (9.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.704928' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.715184' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:25.720282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.721432' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:25.725377' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:25.726438' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:25.730982' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.732092' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.813045' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:25.822642' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.823851' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:25.829237' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:25.830317' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.923933' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.932964' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:25.935781' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:25.938453' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (22.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.939416' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:25.966153' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:25.967162' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:25 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:39:25.970324' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:25.971139' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (8.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.033877' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.041078' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:26.044626' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:26.047176' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:26.048086' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:26.053013' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:26.053941' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.054900' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.129441' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.136897' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:26.138769' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:26.141329' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.141966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:26.145416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:26.146134' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:39:26.149078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.149988' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:39:26.153083' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.1ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.243007' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:26.251394' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.252314' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:26.255428' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:26.256364' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.341199' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.354522' WHERE "users"."id" = 2 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:26.361577' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.362622' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:26.367753' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:26.371294' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:26.374230' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:26.375241' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:26.376165' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:26.377413' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.2ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.453071' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.460731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:26.462667' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (285.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (62.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.883047' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.902401' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.954628' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.961583' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:26.965065' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:26.966037' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:26.968971' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:26.969837' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:26.995342' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:26.996904' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (2.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:27.027739' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:27.028886' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:27.035530' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:27.036492' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.083401' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.090529' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:27.094261' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:27.097810' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.098853' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.099819' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:27.101026' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.147182' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.155179' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.156188' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:27.159440' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.160241' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:27.163383' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:27.164272' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:27.167882' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:27.168815' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:27.174560' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:27.179687' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:27.180583' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:27.186397' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.231704' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.240863' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.241787' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.290555' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.299329' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.300341' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.348277' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.355878' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:27.357992' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:27.360522' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.361361' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 11:39:27.364524' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:27.365227' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.414589' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.422972' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.423991' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:27.427150' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.428017' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:27.431371' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:27.450613' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:27.451804' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:39:27.454417' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:39:27.460417' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:27.461999' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.507896' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.539748' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:27.544175' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:27.550390' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.599477' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.606914' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.610764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.611592' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:27.614574' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.615227' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:27.618147' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.618954' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.622527' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.671255' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.679274' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:27.684455' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.733008' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.740341' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.744042' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.744999' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:27.749823' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:27.750806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.754475' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:27.758315' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:27.761110' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.762084' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.762925' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:27.764089' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:27.768039' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:27.769142' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.821189' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.829170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.830141' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:27.832876' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:27.833836' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.882497' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.891278' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.895814' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.896642' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:27.900523' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:27.901406' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.907859' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:27.911278' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:27.914805' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.915759' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.916802' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:27.917949' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:27.921302' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:27.922219' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.981247' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:27.988816' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:27.993273' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:27.994126' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (77.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.175441' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.188220' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:28.194413' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.241627' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:28.288779' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.289853' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.357041' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.365049' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (118.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (144.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.685309' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.701489' WHERE "users"."id" = 2 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:28.727556' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:28.730331' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:28.734217' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:28.735242' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.736211' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:28.737468' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.790514' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:28.798430' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.799436' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:28.802374' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.803181' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:28.807071' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:28.808009' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:28.811499' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:28.812518' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.858455' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:28.866496' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.867349' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:28.870253' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:28.871185' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:39:28.873378' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:39:28.874220' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.920357' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:28.928884' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.930045' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.978673' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.986550' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:28.990303' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:28.991263' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:39:28.995618' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.042816' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.050341' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.097082' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.104620' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:29.108059' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:29.111387' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:29.112548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.113513' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:29.114734' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:29.118078' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:29.118902' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:39:29.122463' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:39:29.123365' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.168074' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.175181' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:29.193254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:29.194211' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:29.197299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.198204' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:29.201199' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.202151' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.250428' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.257579' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:29.260397' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.306914' WHERE "users"."id" = 3 SQL (24.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.340229' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:29.344420' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.389011' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.396935' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:29.400868' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:29.401845' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:29.406143' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:29.407024' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:29.409171' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:29.411939' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:29.412833' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:29.416512' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:29.418157' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:29.421068' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:29.424275' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:29.425189' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:29.426139' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:29.427323' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:29.429954' WHERE "inkwell_community_users"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:29.430933' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:29 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:29.435546' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:29.438616' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:29.439685' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:39:29.440573' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:29.441738' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (377.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (134.9ms) DELETE FROM "inkwell_blog_items";  (1.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.025294' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.034973' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.040426' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.041455' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 11:39:30.047825' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:30.053285' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:30.057266' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:30.060443' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.061367' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:30.062197' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:30.063575' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 11:39:30.068517' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 11:39:30.069908' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.114269' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.121853' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.125457' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:30.126262' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:30.127532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:30.130095' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.130879' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:30.135247' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:30.138903' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:30.142129' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.143005' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:39:30.143962' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:30.145082' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:30.146459' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:30.148803' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:30.151920' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:30.152872' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:30.153895' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:30.155090' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:30.165092' WHERE "inkwell_community_users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:30.166178' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:30.168697' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:30.169644' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.232063' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.240007' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.241012' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:30.245322' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.299397' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (2.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.401963' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:30.410143' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:30.411151' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:30.415216' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:30.415880' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (736.6ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.238178' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.254939' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:31.259466' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:31.263291' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:31.264102' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.265163' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:31.266587' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (39.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.372004' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.380546' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:31.385190' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (276.9ms) DELETE FROM "inkwell_comments";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.724940' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:31.738368' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.739937' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:31.747799' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:31.754894' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.755739' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:31.762518' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:31.763509' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:31.766722' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:31.767606' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.817065' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:31.825246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.826300' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:31.829135' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:31.830052' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 11:39:31.834302' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.879120' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.949252' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:31.958052' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.959161' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:31.962196' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:31.962977' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:31.967135' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:39:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:31.972633' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:31.973681' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:39:31.975532' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:39:31.980159' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:31.981932' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.027906' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (2.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.062895' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.064066' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:32.070011' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:32.070942' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.117427' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.169148' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.177201' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.178131' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:32.180482' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:32.181460' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.227322' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.235105' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.286040' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.336959' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.344151' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.347884' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.348838' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:32.353180' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:32.354094' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:32.357355' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:32.360920' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:32.364818' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.366164' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:32.367269' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:32.368504' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:32.372333' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:32.373275' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.422062' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.429573' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.430401' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:32.434276' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:32.435119' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 11:39:32.439463' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.487401' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.509702' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.514228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.515109' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:32.518199' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:32.519138' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:32.522220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.523034' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.526499' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.574409' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:32.582367' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.584095' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:32.587409' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.588327' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:32.591364' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:32.592310' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:32.594662' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:32.595521' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (2.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:32.628671' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.677080' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:32.684919' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:32.688765' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:39:32.692897' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:32.693893' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (250.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.006650' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.023977' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.025070' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.073049' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.080524' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:33.084045' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.127336' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.134354' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.138164' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.138992' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:33.143944' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:33.144848' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:33.148406' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:39:33.149362' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:33.152566' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:33.155956' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:33.158969' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.160484' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:33.161283' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:33.162532' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:33.165943' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:33.166818' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:33.170382' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 11:39:33.171299' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.215789' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:33.224166' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:33.224849' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.290149' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.291179' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.299432' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.301416' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.303108' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.304814' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.306535' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.308225' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:33.310056' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:33.314778' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:33.315638' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.317934' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.318743' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.319645' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.320452' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.321180' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.322067' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (2.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:33.322927' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.393495' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.402606' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.403635' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:33.407224' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:33.408077' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:39:33.412349' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.457700' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.465913' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:33.469983' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:33.473401' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.474343' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.475309' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:33.476810' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.3ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.566508' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.574456' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.575426' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:33.578601' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:33.580216' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:33.585813' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.586712' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:33.589847' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:33.590715' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:33.598071' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.598995' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:33.602192' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 11:39:33.603070' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.678222' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.685510' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.689075' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:33.690067' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:33.693017' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.693974' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:33.696912' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.697740' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.3ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.770638' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.778015' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:33.779969' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:33.782596' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.783341' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:33.802066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:33.803004' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 11:39:33.806258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.807090' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 11:39:33.810769' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.889548' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.897192' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:33.902130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.903126' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:33.989199' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.001701' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.007696' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.008656' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (2.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:34.042024' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:34.046094' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:34.049132' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.050096' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:34.051076' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:34.052305' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.107034' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.115021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.116001' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:34.119662' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:34.120502' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:34.123425' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:39:34.124389' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.175847' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.184317' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:34.188657' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.238175' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.246512' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.247374' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:34.250332' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.251355' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.282244' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.288040' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.294394' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.300322' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.306175' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.312512' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.334683' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.341303' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.347447' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.354410' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.360819' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:34.367181' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:34.372519' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:34.373560' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.376078' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.377426' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.378672' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:34.380773' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 11:39:34.381577' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.383397' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.384778' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 11:39:34.385991' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:34.390903' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:34.391972' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:34.393039' WHERE "users"."id" = 2 SQL (3.5ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.3ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.423030' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.423694' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.424299' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.424933' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.425522' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:34.425942' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.3ms) rollback transaction  (246.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.727293' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.735319' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:34.738107' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:34.741548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.742329' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.791235' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.9ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.802330' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.803420' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:34.806365' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:34.807296' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.854088' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.862766' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:34.867985' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:34.871909' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:34.873218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:34.874312' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:34.875691' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:34.878910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:34.883766' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:34.885562' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.886590' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:34.887841' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:34.890133' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:34.891080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:34.953491' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.008976' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.061691' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.070310' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.071348' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:35.093872' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:35.094903' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.144021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.151903' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:35.155781' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.158469' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.159331' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.210522' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.218353' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.223310' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.224281' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:35.228129' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:35.229151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.274708' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.282926' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:35.315772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:35.320132' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.321152' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.322065' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:35.323287' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:35.327487' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:35.328913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:35.332597' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:39:35.333726' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.382143' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.389617' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.394865' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.444737' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.453018' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.454096' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:35.458543' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.509095' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.519443' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:35.522042' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:35.525140' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.525980' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.532139' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:35.534650' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:35.537393' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:35.541225' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:35.542028' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.543186' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:35.544384' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.594151' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.602410' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.603522' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:35.606743' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:35.607595' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.654699' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.681159' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.685326' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:35.686235' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:35.690885' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:35.691777' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:39:35.695259' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:39:35.696188' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.699571' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:35.703410' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:35.707179' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:35.708983' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:35.709988' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:35.711291' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:35.714804' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:35.716525' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 11:39:35.719937' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 11:39:35.721137' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (173.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (61.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.011460' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.025087' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:36.033635' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:36.039549' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.041653' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:36.043427' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:36.045457' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:36.050901' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:36.054863' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:36.056335' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.057350' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (28.5ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:36.087393' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:36.090597' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:36.092185' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.138664' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.146427' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:36.151108' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.200189' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.208180' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:36.210133' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:36.214959' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.216057' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.219548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.265393' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.272933' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.276582' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.277496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (131.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.455337' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:36.465598' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.516461' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.4ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.574084' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.582698' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.586916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.587575' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:39:36.590228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.657768' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.666398' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.667491' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:36.670732' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.671547' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:36.675367' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:36.680968' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:36.681807' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 11:39:36.683799' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 11:39:36.688792' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 11:39:36.690392' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (53.4ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.2ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.823039' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.845563' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:36.856637' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:36.865179' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.925928' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.939122' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:36.945565' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:36.947025' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:36.952464' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:36.954389' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (2.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:36.987517' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:36.989231' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (205.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.273204' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.286599' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:37.290407' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.291149' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:37.294561' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:37.295417' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:37.301526' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:37.302268' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:37.305636' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:37.309893' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:37.312913' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:37.313817' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:37.314793' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:37.315944' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:37.318521' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:37.319377' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:37.325188' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:37.326045' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.371098' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.378764' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:37.382204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:37.386009' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (167.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (144.3ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.768750' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:37.781929' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.783382' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:37.788167' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.789635' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:37.794073' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:37.794881' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 11:39:37.801817' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 11:39:37.803045' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.867868' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:37.876859' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.877913' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:37.880460' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:37.881307' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 11:39:37.885271' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:37.885995' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 11:39:37.886759' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.931223' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.939730' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:37.943577' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.944497' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 11:39:37.950073' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 11:39:37.951026' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:37.995137' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 11:39:38.004386' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 11:39:38.005276' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:37 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (26.6ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.083816' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.085115' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.141673' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:38.151257' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 11:39:38.155290' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.201567' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.208449' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:38.212134' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:38.215294' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.216270' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.217257' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:38.218472' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:38.222381' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:38.223230' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.274543' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.282050' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.286209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.287063' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:38.291343' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:38.292438' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:38.295394' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:39:38.296370' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:38.299173' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:38.302858' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 11:39:38.324247' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.325403' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:38.326328' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 11:39:38.327443' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 11:39:38.331467' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:38.332319' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 11:39:38.335493' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 11:39:38.336377' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.383679' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.391498' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.392432' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:38.396278' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:38.397200' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 11:39:38.402861' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:38.403895' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (352.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.816911' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.827624' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.828812' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:38.832736' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:38.833864' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 11:39:38.838951' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.885624' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.894110' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (28.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.928979' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.930081' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 11:39:38.932865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:38.934610' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 11:39:38.937340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:38.938184' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.982688' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:38.992633' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:38.993378' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.042843' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.050270' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.102532' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.110936' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:39.113224' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.165700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.173693' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.177148' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.177980' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:39.185666' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:39.186659' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.235595' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.245223' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.246160' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:39.249408' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:39.250394' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.313100' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.320599' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 11:39:39.324724' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 11:39:39.328465' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 11:39:39.329388' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.374129' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.382221' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.383319' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:39.387820' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:39.388988' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.436837' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.444626' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.448598' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 11:39:39.449365' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 11:39:39.452390' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.453280' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 11:39:39.456957' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.457843' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:39.463179' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 11:39:39.464108' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 11:39:39.466785' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 11:39:39.468309' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (27.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.540548' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.548959' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.552883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.553746' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 11:39:39.557347' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 11:39:39.558197' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.604251' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.611974' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 11:39:39.614023' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 11:39:39.617251' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.618233' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 11:39:39.620474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.666018' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.719671' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 11:39:39.727013' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 11:39:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (400.9ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (207.8ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:36.936740' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.005000' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:37.010441' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (41.9ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.104725' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.112861' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.113794' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:37.120237' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:37.121288' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:05:37.127442' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.172448' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.226484' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.233950' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.237476' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.238449' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:37.241636' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:37.242333' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:37.248125' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:37.249270' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.252952' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:37.256283' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:37.259372' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.260335' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.261403' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:37.262545' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:37.265802' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:37.266682' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:37.272234' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:37.273118' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.334882' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.342677' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.346209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.347058' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:37.351301' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:37.352348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.356670' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:37.361076' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:37.363522' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.364448' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.365397' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:37.366549' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:37.370174' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:37.371040' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (24.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.437241' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.445411' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.446333' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:37.450078' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.450907' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:37.453786' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:37.454651' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:37.457458' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:37.458223' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (271.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.799794' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.819786' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:37.826731' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:37.832424' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.892998' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.904371' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:37.907061' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:37.911344' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.912400' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:05:37.915917' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:37.916849' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.961883' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.969354' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.973008' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:37.973911' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:37.978414' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:37.979296' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:37.982462' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:05:37.983316' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.985997' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:37 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:37.989349' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:37.992468' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:37.993225' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:37.994119' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:37.995249' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:37.999579' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:38.000383' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:38.003507' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:05:38.004281' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.048950' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:38.074852' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:38.075819' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.153042' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.154143' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.163223' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.165356' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.167112' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.168765' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.170525' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.172266' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:38.173950' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.221594' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.229288' WHERE "users"."id" = 2 SQL (17.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.250474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.251495' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:38.256034' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:38.257008' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.301124' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.309347' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.310218' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:38.313074' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.314018' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:38.318473' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:38.323854' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:38.324627' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:05:38.326415' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:05:38.330689' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:38.332123' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.376855' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.384212' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.437813' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.445098' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:38.449701' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.502236' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.509216' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.512994' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:38.514104' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:38.517255' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.517975' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:38.521102' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.522046' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.569212' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.576871' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.577898' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:38.580820' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.581622' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:38.584606' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:38.585543' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:38.588126' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:38.589186' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:38.593933' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.639690' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.647345' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:38.650797' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:38.654018' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.654927' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.655794' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:38.657277' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:38.660775' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:38.661605' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.712519' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:38 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:38.734167' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:38.735138' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:38.737937' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:38.738712' WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (277.0ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.088101' WHERE "users"."id" = 3 SQL (2.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.118495' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.122503' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.123425' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:39.126424' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:39.127227' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:39.130346' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.131296' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.134572' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.183568' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.190993' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:39.192896' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:39.195382' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.196187' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:39.202173' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:39.204085' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:39.206580' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:39.209627' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:39.210475' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:39.211168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:39.212229' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.258546' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.266390' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.267360' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:39.272053' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.320424' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.328002' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:39.332247' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.380274' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.426193' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.427148' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.549348' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:39.562814' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.645473' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.675863' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:39.677343' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:39.680218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.681229' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:39.684398' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:39.685242' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:05:39.688220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.689240' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:05:39.692769' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.785222' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.797055' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.798460' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:39.803310' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.804192' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:39.807734' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:39.812391' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:39.814168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:05:39.815998' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:05:39.822336' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:39.823639' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (16.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.1ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.928179' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:39.941079' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:39.942326' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:39.994393' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:39.995338' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:39 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.003193' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.004816' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.006527' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.008248' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.009956' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.011575' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:40.013307' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:40.017152' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:40.018741' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.020823' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.021611' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.022463' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.023095' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.023929' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.024790' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.025566' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (303.8ms) DELETE FROM "communities";  (0.5ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.401075' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:40.411149' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.412225' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:40.416085' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.417306' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:40.436278' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:40.443114' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:40.444209' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:05:40.446485' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:05:40.451629' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:40.453200' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.501160' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:40.539580' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.540843' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:40.543462' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:40.544180' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.588229' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.596051' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:40.599809' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:40.602679' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.647839' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:40.656837' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.657776' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.703445' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:40.711357' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.712384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:40.715355' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.716170' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:40.719397' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:40.720206' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:40.723802' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:40.724782' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:40.730433' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:40.735771' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:40.736597' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:40.741936' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.786291' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.793416' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:40.815878' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.862630' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.919542' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.927098' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:40.930764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:40.931610' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:40 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:40.934319' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:40.935172' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:40.945161' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:40.946159' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:40.951670' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:40.952619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:40.958739' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:40.959539' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.006096' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.014141' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.015080' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:41.020172' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:41.021123' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.074606' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.082630' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:41.086357' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.088853' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:41.089798' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:41.094196' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:41.095254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.096216' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (252.1ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (320.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.726614' WHERE "users"."id" = 3 SQL (0.6ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.742596' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:41.750204' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.6ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:41.756145' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.805147' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.812788' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.816298' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.817245' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:41.821985' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:41.825864' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:41.843527' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.844517' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:41.846146' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:41.847356' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.891875' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.899463' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:41.901420' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:41.905916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.906812' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (23.9ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.934365' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.981099' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.988527' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:41.992433' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:41.995686' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:41.996772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:41.997673' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:41.998843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.065579' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.072885' WHERE "users"."id" = 2 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:42.075312' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.175556' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:42.193658' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.195721' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:42.202392' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:42.203782' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:05:42.206108' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:05:42.206923' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.283006' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.367182' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.376774' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.473852' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.483173' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:42.487824' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.489004' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:05:42.495077' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:42.500204' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:42.503928' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:42.507268' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:42.507971' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:42.508875' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:42.510064' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:05:42.514839' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:05:42.515972' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (5.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.573894' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.9ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.6ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.679504' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:42.705833' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:42.706899' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:42.713295' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:42.714431' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (648.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.431153' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.443934' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.445606' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:43.449903' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.451774' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:43.456208' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:43.457567' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:43.487777' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:43.489105' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.534740' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.542934' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.543864' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:43.548130' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:43.549224' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.601866' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.609284' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.612794' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.613613' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:43.616821' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:43.617646' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:43.624153' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:43.625078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.676427' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.690295' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.691216' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:43.695021' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.741436' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.794841' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.802398' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.806153' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.806990' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:43.811820' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:43.812505' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:43.816164' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:43.819974' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:43.822963' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.823686' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:43.824589' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:43.825815' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:43.829820' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:43.830674' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.890162' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.897912' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:43.901750' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:43.905270' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:43.906197' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.907361' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:43.908793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:43.962504' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.018067' WHERE "users"."id" = 3 SQL (3.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.096595' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:44.105931' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.106832' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.158693' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.166219' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:44.168292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:44.170896' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.171635' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:44.174809' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:44.175689' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:05:44.178571' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.179392' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:05:44.183020' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.232078' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.239445' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:44.243350' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.291899' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.299226' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:44.303223' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.303943' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:44.307641' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:44.308816' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:44.310924' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:44.313518' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:44.314340' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:44.318067' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:44.319743' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:44.322266' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:44.325463' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:44.326396' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:44.327275' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:44.328486' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:44.331243' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:44.332119' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:44.337230' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:44.340458' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:44.341345' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:05:44.342328' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:44.343536' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.388647' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.396253' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:44.398231' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:44.402230' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.403254' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (251.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.712748' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:44.740313' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.741320' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.785752' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.793319' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:44.797721' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:44.801056' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:44.802168' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.803089' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:44.804348' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:44.808759' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:44.809837' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:44.813251' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:05:44.814183' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.883725' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.940579' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:44.948238' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:44.953427' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.000671' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.009463' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.010338' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:45.012835' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:45.013807' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:45.016637' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:05:45.018457' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.060946' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.116517' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.123601' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:45.127286' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:45.130932' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.131826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.132600' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:45.133649' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:45.137208' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:45.138159' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:05:45.141236' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:05:45.142151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.187231' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.194531' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.239835' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.249073' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.249997' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:45.258161' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:45.264506' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.265390' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:45.272158' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:45.273168' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:45.290892' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:45.292021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.340663' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.347911' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.352005' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.353122' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:45.356797' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:45.357466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.406244' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.415015' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.416100' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (2.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:45.444907' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:45.446109' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:05:45.450935' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.494420' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.502241' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.503976' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.549700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:45.557880' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.558738' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:45.561741' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.562581' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:45.565982' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:45.566667' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:45.574093' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:05:45.575112' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.624478' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:45.632779' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:45.636232' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (342.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.048555' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.068161' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.070430' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.3ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:46.074377' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:46.076018' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:05:46.079852' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:46.080664' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:05:46.081447' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.132220' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.140461' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.141377' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:46.144847' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:46.145802' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:05:46.150108' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.200871' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.208327' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.212066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.212961' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:46.216441' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:46.217315' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:46.220083' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.220892' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.240870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.289661' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.296965' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.301307' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.302221' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:46.305922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:46.307057' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.356578' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.364387' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.368926' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.369829' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:46.373030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:46.374012' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:46.377314' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.378144' WHERE "users"."id" = 4  (3.4ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.452732' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.460617' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.508013' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.516993' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.517956' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:46.520670' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:46.521594' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.565530' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.573519' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.574285' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:46.578772' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:46.579650' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.626523' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.633551' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.638189' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.639041' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:05:46.643770' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.694522' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.701971' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:46.705290' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.706198' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:46.709801' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:46.710755' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:05:46.720147' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:46.721100' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.771884' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.779471' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.4ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.895470' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:46.903709' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:05:46.906912' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:46.996868' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.008887' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:47.013201' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:47.016648' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:47.017834' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:47.018795' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:47.020022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:47.023085' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:47.026516' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:47.027434' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.028199' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:47.029501' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:47.032238' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:47.033248' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.106706' WHERE "users"."id" = 3 SQL (3.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.141808' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:47.146076' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:05:47.149286' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:47.150929' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.236520' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.248354' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:47.252073' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.252975' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.305497' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.313119' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:47.315327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:47.318181' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.318888' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.418811' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.430377' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:47.434674' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:47.435615' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:47.439158' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.440122' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:47 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:47.443480' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:47.445194' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:47.450596' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:47.451804' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:47.454355' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:47.455875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (649.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.181381' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.200377' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.205969' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.206660' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:48.209883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.210748' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:48.213708' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.214518' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.2ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.260481' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.268034' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.271371' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:48.274991' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.343930' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.351950' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.355489' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.356255' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.404599' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.414380' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.415452' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.3ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:48.419320' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:48.420306' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.470716' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.478554' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:48.480766' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.483275' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:48.487244' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:48.488172' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.489161' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:48.490413' WHERE "communities"."id" = 2  (2.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.562642' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.613976' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.621548' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.625946' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:05:48.629336' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:48.630213' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.677501' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.686038' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.686790' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:48.689996' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:48.690940' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:05:48.695167' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.745650' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.752934' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.756437' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:48.760265' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.761261' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.762175' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:48.763406' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:48.767716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:48.768586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.822374' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.829642' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.834539' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.835431' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.883812' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.890896' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.894378' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.895915' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.917221' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.920958' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:48.924044' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.925119' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.926184' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:48.927462' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.972502' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.979796' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:48.983737' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.984653' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:48.985847' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:48.988217' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:48.989363' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:48.993465' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:48 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:48.997153' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:49.001176' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:49.002238' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:05:49.003504' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:49.004644' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:49.006021' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:49.008855' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:49.012047' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:49.012974' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:49.013844' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:49.015183' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (2.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:49.051592' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:49.052639' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:49.055306' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:49.056249' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (429.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (136.0ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:49.679377' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:49.699753' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:49.710051' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:49.712232' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:49.721034' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:49.723212' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:49.740940' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:49.742305' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:49.749529' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:49.750850' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:49.758210' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:49.759530' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:49.819791' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:49.828836' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:49.829881' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:49.833163' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:49.834170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:05:49.837250' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:05:49.838376' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (554.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (78.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (273.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.812265' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.822190' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:50.826411' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:50.829625' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:50.830388' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.881104' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.888409' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.934343' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.941591' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:50.964430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:50.968273' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:50.969269' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:50.970193' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:50.971426' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.021086' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.029272' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.081570' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.088989' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.093210' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.094099' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:51.098302' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:51.099283' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:51.103711' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:05:51.104926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.108342' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:51.112240' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (2.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:51.142028' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.143270' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.144318' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:51.145743' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:51.149663' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:51.150630' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:51.154481' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:05:51.155363' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.199566' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.208808' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.209754' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.257978' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.266154' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.267054' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:51.271026' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:51.271940' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.320363' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.327967' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.331523' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.332438' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:05:51.339298' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:51.340284' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.393074' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.401288' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.402219' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:51.406648' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.456997' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.464495' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.468334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.469175' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:51.490792' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:51.491745' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.494912' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:51.498332' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:51.502277' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.503287' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.504255' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:51.505538' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:51.508873' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:51.509924' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.559095' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.566956' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.570395' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.571316' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:51.574710' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:51.576324' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:05:51.585793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:51.586760' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.636731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (2.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.720898' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.728292' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.732633' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.733618' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:05:51.736128' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:51.737670' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:51.740457' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.741294' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.791374' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.798653' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:51.801064' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.849399' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.857111' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:51.858915' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:51.861906' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.862974' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:05:51.865429' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (2.4ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.915182' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.922371' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:51.924389' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:51.927079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.927878' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:05:51.930829' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:51.931512' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:05:51.934707' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.935493' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.984365' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:51.991515' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:51.995324' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.045302' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.072642' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:52.076658' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.120916' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.128612' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:52.132325' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:52.135709' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:52.136762' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:52.137786' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:52.139042' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:52.142239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:52.145788' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:52.146787' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.147848' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:52.149167' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:52.151429' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:52.152383' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.201445' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:52.209928' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.210937' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:52.214014' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.214904' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.277923' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.284804' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.290956' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.297741' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.304283' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.310399' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.316964' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.323285' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.330140' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.336939' WHERE "posts"."id" = 10  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.343406' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:05:52.349717' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:52.355129' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:52.356063' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.358170' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.359463' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.360763' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:52.362922' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:05:52.363772' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.365767' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.367075' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:05:52.368331' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:52.372846' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:52.373988' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:52.375028' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.376726' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.377442' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.378045' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.378635' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.379196' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:05:52.379524' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.3ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (257.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.729314' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.738601' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.785607' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.793624' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:52.795448' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:05:52.798050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.798876' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:52.804163' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:05:52.805147' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.860277' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.868462' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:52.871901' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.872701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:52.877979' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:52.878837' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:05:52.882172' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:05:52.883842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:52.887324' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:52.890684' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:52.894275' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:52.895045' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:05:52.896180' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.5ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:52.924181' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:05:52.928685' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:05:52.929470' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:05:52.932701' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:05:52.933596' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.981899' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:52.990154' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:52.991070' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:05:52.994501' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:05:52.995455' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.044421' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:05:53.053818' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:05:53.054558' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.9ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.103582' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.104630' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.158525' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.166699' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.185364' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:53.189022' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:53.190046' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:05:53.195573' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:05:53.196466' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.240265' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.248193' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:05:53.251732' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:05:53.255320' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.256328' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.257248' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:05:53.258689' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.306113' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.313394' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:05:53.315536' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:05:53.316653' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.360453' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.369231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.370207' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:53.373349' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:53.374255' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:05:53.380063' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.381021' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (2.6ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:53.384411' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:05:53.413881' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:05:53.421824' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.422677' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:53.426506' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:05:53.427499' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.481628' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.490236' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.491266' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:05:53.494147' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:05:53.495000' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.546406' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.553818' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:05:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:05:53.557700' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:05:53.558523' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:05:53.561472' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.006736' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.063963' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.068370' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.069502' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:56.093125' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:56.094279' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:06:56.099265' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:06:56.100314' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:56.104204' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:56.108269' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:56.111354' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.112293' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:56.113249' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:56.114528' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:56.118473' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:56.119268' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:06:56.123659' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:06:56.124528' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (35.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.204667' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.223592' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:56.234129' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:56.239479' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.7ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.241646' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.244650' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:56.248092' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:56.254610' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:56.256904' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:06:56.264609' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.2ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:06:56.265700' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.317085' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (6.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.342530' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.343584' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.398922' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.418582' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.425252' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.429682' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (1.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:56.439944' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:56.441027' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:56.493665' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:56.500899' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:56.503740' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.505010' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:56.505941' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:56.507200' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:56.510963' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:56.511805' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (85.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (11.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.659763' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.668727' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:56.674486' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.727743' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.745756' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:56.753970' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (1.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.805411' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.823842' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:56.832325' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:56.838281' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.840611' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.842720' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:56.848127' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:06:56.852682' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:06:56.854684' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (9.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.915604' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:56.934873' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.935828' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:06:56.938983' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:56.939934' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:06:56.946441' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:06:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:06:56.962613' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:06:56.963776' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:06:56.966166' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:06:56.972158' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:56.973751' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.022184' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.030488' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:57.034337' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:57.038521' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.039538' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:57.040518' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:57.041738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:57.067830' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:57.072766' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:06:57.073917' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.074965' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:57.076369' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:57.078903' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:57.079852' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.131294' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.138812' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.143327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:57.144234' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.4ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:06:57.147460' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.148452' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:06:57.159156' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:06:57.160198' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:06:57.166688' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:06:57.167794' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:06:57.174911' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:06:57.176011' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.226893' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.234653' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:57.239117' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:57.242200' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.243170' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.244089' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:57.245385' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.320977' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.329087' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.333286' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.334097' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:06:57.337546' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:57.338429' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:06:57.341388' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.342222' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.345523' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.427349' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.435642' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:57.439910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:57.443300' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.444278' WHERE "communities"."id" = 2  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.448189' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.7ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:57.450122' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.0ms) rollback transaction  (13.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.535211' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.551664' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:57.565077' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:57.566152' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:06:57.569420' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:06:57.572753' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:57 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:06:57.577477' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:57.582155' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (476.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.116216' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.156105' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:06:58.160010' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.236527' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (1.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:06:58.256235' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:06:58.258630' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (1.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.370102' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.371328' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.6ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.446551' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (11.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.531644' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.546874' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (3.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.606495' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.608191' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:06:58.620025' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:06:58.622322' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:06:58.629210' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:06:58.632007' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.638518' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:58.649179' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:06:58.655302' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.656749' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.658903' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:58.660358' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:06:58.665051' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:06:58.666064' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:06:58.668950' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:06:58.669903' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (9.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.731758' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.751463' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.752512' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (3.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:06:58.764769' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:06:58.765913' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.819194' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (10.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.832374' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.846547' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.847515' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:06:58.850912' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.851779' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (7.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:06:58.867228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.868346' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.876975' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.941216' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.948968' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:58.953230' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:58.954131' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:58.958017' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:58.958786' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:06:58.961568' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:06:58.963871' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.964727' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.6ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.968767' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:06:58.970673' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:58.973272' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:06:58.976850' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:06:58.977564' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:06:58.978375' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:58.979600' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:06:58.982719' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:06:58.983590' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:58 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:06:58.988221' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:06:58.991572' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:06:58.992420' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:06:58.993099' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:06:58.994228' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.045098' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.059182' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:06:59.068335' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (9.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.133221' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:06:59.179349' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:06:59.182605' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (3.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:59.356288' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.357340' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.376945' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.379416' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.381242' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.382825' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.387493' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.393188' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:06:59.394974' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:06:59.406471' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.3ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:06:59.407573' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.3ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.411219' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.414012' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.414856' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.417559' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.418236' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.419035' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:06:59.422837' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (353.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (137.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.953578' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:06:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:06:59.962291' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:06:59.963298' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.009700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.017464' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:00.021308' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:00.025118' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.026061' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.026952' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:00.028191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:00.032050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:00.032994' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.079659' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.086836' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:00.088654' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:07:00.089630' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.134516' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.141888' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.145505' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:00.146325' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:00.149372' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.150176' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:07:00.153005' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.153890' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:00.158555' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:00.159497' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:00.162146' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:00.162910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.213485' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.220359' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.224936' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.225881' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:07:00.227992' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.293949' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.301402' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:00.303334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:00.337373' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.338443' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.341530' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.388924' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.396091' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.444911' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.451934' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:00.455774' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:00.458949' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.507702' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.515486' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.516433' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:00.519201' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.520143' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:00.524068' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:00.529123' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:07:00.530017' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:07:00.531789' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:07:00.535877' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:00.537317' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.582369' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.589444' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.593327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:00.594106' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:00.598158' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:00.599077' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:07:00.602135' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:07:00.603040' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:00.606424' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:00.610059' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:00.612865' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:00.613740' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:00.614686' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:00.615670' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:00.619257' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:00.620058' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:07:00.622868' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:07:00.623732' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (81.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (436.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.235026' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.253523' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:01.257543' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.260195' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:01.261122' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.307777' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.315603' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.316494' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:01.320122' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:01.321083' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.369645' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.377129' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.427475' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.434896' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.439127' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.439978' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:01.446613' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:01.447551' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.502660' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.510537' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:01.514180' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:01.517821' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.567802' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.576494' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.577241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.626565' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.634340' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:01.635918' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:01.638625' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.639477' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.642068' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.692179' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.699225' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.703311' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.704139' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:01.722863' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:01.723601' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.769700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.777037' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.780788' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.781421' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:01.784620' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:01.785364' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (22.9ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:01.791528' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:01.815613' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.863028' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.872878' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.873970' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:01.877159' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:01.878119' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.926387' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.933648' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.937095' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.938039' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:01.942515' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:01.946260' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:01.949540' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:01.950427' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:01.951450' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:01.952638' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:01.996977' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.004259' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:02.007875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:02.011114' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.011990' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.012842' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:02.013808' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:02.017879' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:02.018776' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:07:02.021886' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:07:02.022712' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.071571' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.078676' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:02.080363' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:02.083080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:07:02.085632' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:02.086486' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.087328' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:02.089122' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.140726' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.147946' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.151378' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.151983' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:02.155880' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:02.156563' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.206422' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.261590' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.335649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.343837' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:02.349518' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.396611' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (23.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.429244' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.430467' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:02.433320' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:02.434182' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:02.437892' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:07:02.438858' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (269.7ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.776513' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.788217' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.789324' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:02.791874' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:02.792873' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.837376' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.844305' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:02.846168' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:02.848544' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.849766' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:07:02.852963' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:02.853743' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:07:02.856606' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.857376' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:07:02.860665' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.909214' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.916998' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.918206' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:02.921548' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:02.922217' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.969253' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.976501' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:02.980204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:02.981107' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:02.983880' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.984867' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:02 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:07:02.987694' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:02.988512' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.038604' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.045784' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:03.047621' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:03.050289' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.051152' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:07:03.054156' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.054941' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:07:03.058030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.058811' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.104951' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.111816' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.116465' WHERE "users"."id" = 2 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.178049' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.186494' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.187391' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:03.190013' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:03.191042' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.239714' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.248028' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.249181' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:03.252632' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:03.253342' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (3.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:07:03.282939' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.327580' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.334662' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:03.336606' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:03.340038' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.341083' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.388215' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.395533' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.399117' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.399918' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.405025' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:03.408589' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:03.411784' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.412730' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.413638' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:03.414562' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.460504' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.467778' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.471252' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.471924' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:03.475147' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:03.476145' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:03.482161' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:03.483010' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.486682' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:03.490179' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:03.493104' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.494065' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:03.494913' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:03.496223' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:03.499409' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:03.500191' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:03.505524' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:03.506402' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.551867' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.558962' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:03.563003' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:07:03.566347' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:03.567292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.615839' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:03.623360' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.624307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:03.627186' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.628085' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:03.646738' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:03.652175' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:07:03.653124' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:07:03.654964' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:07:03.661291' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:03.662690' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:03.709058' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:03 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (576.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.369386' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.380383' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.381443' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (2.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:04.409807' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:04.410930' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.457277' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.464329' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.468114' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.469052' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:04.474223' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:04.474911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:04.478452' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:04.482162' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:04.485092' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.486030' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:04.486947' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:04.488151' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:04.492077' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:04.493017' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.539373' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.546510' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:04.550228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.598536' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.607625' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.608520' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:04.616818' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:04.623071' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.623895' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:04.630896' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:04.631761' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:04.634214' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:04.635129' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.685534' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.692755' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.696518' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.697518' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.747746' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (20.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.818559' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.825920' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.830100' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.830945' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.916174' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.925144' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.929749' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:04.930945' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:04.936226' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:04.937356' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:04.941193' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:04.945116' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (25.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:04.974042' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:04.975096' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:04.976042' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:04.977459' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:04.981133' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:04.982163' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.053611' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.061052' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:05.064878' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.148057' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.159259' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.0ms) DELETE FROM "inkwell_timeline_items";  (1.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.252830' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:05.267224' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.269429' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (230.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (226.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.801035' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.818309' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:05.824577' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:05.830058' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.880105' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.933700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:05.941824' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:05.942706' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:05.948202' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:05.949249' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.002342' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:06.010493' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.011388' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:06.014085' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:06.014932' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:07:06.018351' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:06.019444' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:07:06.020187' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.087520' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.144532' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:06.153513' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.154502' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:06.157553' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:06.158349' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:07:06.161047' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:07:06.162524' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.213748' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.271028' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.310695' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:06.312935' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:06.315835' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.316868' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:06.322146' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:07:06.323334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.372392' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.379987' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:06.383685' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.432727' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.440357' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:06.444467' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.445325' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:06.450072' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:06.451140' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.502844' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:06.510560' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.511246' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:06.515470' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.566692' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.620199' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.627725' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:06.632220' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.633229' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:07:06.639897' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (267.0ms) DELETE FROM "inkwell_favorite_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.957280' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.964396' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:06.967034' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:06.969767' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:06.970559' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:06.992571' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:06.994596' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:06.997280' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:07:07.000574' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:07.001533' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:07.002378' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:07.004218' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.052647' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.066829' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.067753' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:07.072092' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.127012' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:07.136036' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:07:07.136959' WHERE "users"."id" = 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.211304' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.212257' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.220499' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.222095' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.223851' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.225485' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.227186' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.228790' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:07.230494' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.273907' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.281205' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:07.285209' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:07.289387' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.334161' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.390147' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.397323' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.401097' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.401898' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:07.405550' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:07.406296' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:07:07.414619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:07.415537' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.484987' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.492418' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:07.496050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:07.499432' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.500360' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.501283' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:07.502529' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.549655' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.556825' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:07.561104' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:07:07.565094' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:07.566787' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.615070' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.622641' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:07.654809' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:07.658345' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.659364' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.660315' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:07.661616' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (13.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.713941' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.722281' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.723047' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:07.726121' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.727075' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:07.730411' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:07.731254' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:07.733744' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:07.734592' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:07.739818' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.790972' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.803158' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.804462' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:07.807959' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:07.808729' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.858463' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.865658' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.869485' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.870350' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:07.873129' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:07.874593' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:07:07.877566' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.878481' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.928379' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.935950' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:07.937913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.986765' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:07.995346' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:07.996274' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:07.999280' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.000076' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:08.003441' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:07:08.004382' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:07 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:08.029402' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:07:08.030642' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.081751' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.090058' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.094498' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.095549' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:08.096491' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:07:08.099695' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.101532' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.105694' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:08.110217' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:08.113168' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.114118' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:07:08.115277' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:08.116388' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:08.118169' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:08.121928' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:07:08.125500' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:07:08.126449' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.127425' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:08.129333' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:08.140320' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:08.141204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:08.172440' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:08.173924' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.222820' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.230348' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.234070' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.234869' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:07:08.240272' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.244279' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:08.247970' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:08.251098' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.252171' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.253111' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:08.254316' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:07:08.258796' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:07:08.259968' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.304130' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.312437' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.313364' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:08.317892' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:08.318835' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.367257' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.374275' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.378324' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.379206' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:08.382127' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.382959' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:08.391472' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:08.392350' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:08.397122' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:08.398086' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:08.402902' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:08.403724' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.447689' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.454941' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.458679' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:08.459463' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:08.479671' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.480751' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:07:08.483604' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.484649' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.2ms) rollback transaction  (246.5ms) DELETE FROM "communities";  (0.5ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.813214' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:08.824787' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.825624' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:08.829909' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:08.831095' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:08.838480' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.839523' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:08.843955' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:08.844855' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:07:08.852381' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.853286' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:08.856448' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:07:08.857360' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.937367' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]] Inkwell::Following Load (0.8ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:08.944907' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:08.950528' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.000902' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.009352' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.010197' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:07:09.014693' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:09.015286' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.066179' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.074002' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.074992' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:07:09.077793' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:07:09.078726' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:07:09.082556' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.127732' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.135653' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.139262' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.140150' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:09.143368' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:09.144274' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:07:09.153097' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:09.153972' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (10.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.214111' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.222207' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.270116' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.298939' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:09.300701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:09.303051' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.303859' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:07:09.307787' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:09.308761' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.354522' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.362420' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:09.366254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:09.369810' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.370821' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:09.371823' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:09.373028' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:09.375956' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:09.379073' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:09.379864' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.380948' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:07:09.382204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:09.385031' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:09.385925' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.433649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.442087' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:09.444022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:09.447380' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.448223' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (26.4ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:07:09.451150' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:09.478653' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:07:09.481806' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.482712' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:07:09.486202' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.541090' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.549246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.550168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:09.553773' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:09.554503' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:07:09.559705' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:09.560519' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.605374' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:09.613274' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.614454' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:09.617481' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.618308' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:09.621425' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:09.622318' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:09.625812' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:09.626674' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.671910' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.679396' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.729598' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.737341' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:09.739051' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:07:09.741382' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:09.742353' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (286.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (9.1ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (9.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.4ms) DELETE FROM "inkwell_timeline_items";  (1.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.1ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.125703' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:10.138486' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.139532' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.2ms) rollback transaction  (8.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.248625' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:10.259373' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.340993' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.349554' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.439846' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.455521' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.524616' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.535496' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:10.539074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:10.540047' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.7ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.619639' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.656983' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.735788' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.815677' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:10.824885' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.825630' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:10.828603' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.829388' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:10.832739' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:10.833768' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:10.837350' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:10.838280' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:10.843734' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:10.849109' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:10.850046' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:10.856239' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.942617' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:10.955379' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:10.956644' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:10.961556' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:10.963545' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:07:10.969098' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (11.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.055895' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.066416' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.067287' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:11.070255' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:11.071159' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:07:11.074450' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:07:11.075264' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.144287' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.151866' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:07:11.154218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.205700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.213032' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:07:11.217271' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.219842' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:07:11.220564' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:07:11.225946' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:11.226863' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.227742' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.281035' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.289265' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.290148' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.295084' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.348297' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.356594' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (26.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.357441' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:11.387873' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:11.389063' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:07:11.393434' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.443077' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.490490' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.491390' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (214.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.797052' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.8ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:11.814803' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.816768' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:11.823448' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:11.825318' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.884157' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.890964' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.897243' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.903786' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.909742' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.916108' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.922314' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.929315' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.935545' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.941866' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.948751' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (27.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:07:11.983059' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:11.988430' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:07:11.989313' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:11.991266' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:11.992534' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:11.993759' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:07:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:07:11.995914' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:07:11.996855' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:11.998837' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:12.000055' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:07:12.001264' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:12.005209' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:12.006001' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:07:12.007031' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.009017' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.009614' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.010261' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.010842' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.011220' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:07:12.011787' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (5.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:12.060141' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:12.070006' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:12.070934' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:07:12.073756' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:12.074580' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:12.077749' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:07:12.078603' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:07:12.081234' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:07:12.082160' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.4ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:12.165429' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:07:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:07:12.179928' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:07:12.180627' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:07:12.184171' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:07:12.185122' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.571821' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.635903' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:17.640027' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.641064' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.8ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:17.663639' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:17.664956' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:17.671671' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:17.675246' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:17.679645' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:17.680416' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:17.681262' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:17.682521' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:17.686129' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:17.686842' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (15.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.763638' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.801034' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:17.807431' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.808702' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:17.823132' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:17.824119' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:17.833898' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:09:17.834888' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:17.838029' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:17.842083' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:17.845181' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:17.846076' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:17.846983' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:17.848027' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:17.852169' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:17.853058' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:17.856543' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:09:17.858077' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.4ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.913415' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:17.923287' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.924237' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:17.947119' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:17.948249' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:17.957181' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:17.957987' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:17.977600' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:17.980093' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.5ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.057242' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.067431' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.073226' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:18.076052' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:18.081191' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.082211' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:18.091594' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:18.092536' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:18.097524' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:18.098408' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:18.102952' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:18.104097' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (7.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.163496' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.177299' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.181055' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.181926' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:18.185607' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:18.187044' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.236158' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.245109' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:18.249387' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:18.253140' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.254792' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.255810' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:18.256931' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.3ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.310890' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.320051' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:18.325821' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.9ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.380367' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.393998' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.398375' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.399342' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:18.409774' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:18.410899' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.495458' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.504636' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:18.506880' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:18.511135' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.512737' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:09:18.517335' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:18.518460' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.567585' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.575928' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:18.580060' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.582636' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:18.584077' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:18.589942' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:18.590968' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.591963' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (269.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.914677' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:18.929439' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.931103' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:18.935122' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:18.936156' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:09:18.941736' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:18.942686' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.989863' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:18.998229' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:19.003973' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.007309' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:19.008115' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (10.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.071047' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.089678' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:19.094089' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:19.101622' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.102496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:19.112194' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:19.113206' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:09:19.117879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.122327' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.8ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:09:19.129701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.186121' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.203261' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.207910' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.208931' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:19.211710' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:19.212962' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:19.219545' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:19.220404' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.273979' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.297173' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.298056' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.386087' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.451160' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:19.460907' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.5ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:19.469050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.520041' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.527928' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.533353' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.534346' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:19.538075' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:19.539538' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (7.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.594810' WHERE "users"."id" = 3 SQL (3.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.615243' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.619162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.620015' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:19.635264' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:19.636374' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:09:19.654799' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:19.657664' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.736474' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.751565' WHERE "users"."id" = 2 SQL (3.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:19.757172' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:19.763914' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.767018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.770002' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.832619' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:19 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:19.846137' WHERE "communities"."id" = 1  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:19.847911' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:19.850956' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:19.852017' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (230.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (54.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.183837' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:20.204802' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.206426' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (1.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:20.212021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.214319' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.281681' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (1.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.295817' WHERE "posts"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.307384' WHERE "posts"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.321115' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.370255' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.383060' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (1.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.397901' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (39.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.447568' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.455013' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.461679' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.468637' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:20.474898' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:20.480680' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:20.481399' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.484218' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.485431' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.486425' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:20.488409' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:09:20.489940' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.491430' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.492501' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:09:20.494135' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:20.499166' WHERE "users"."id" = 3 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:20.500143' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:20.500902' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.503130' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.503584' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.504206' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.505275' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.505999' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:20.506432' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.565701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:20.577700' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.578640' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:20.582234' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:20.583526' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.9ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:09:20.589700' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.648167' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:20.667811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.7ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:09:20.672109' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (4.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.732303' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.754419' WHERE "users"."id" = 2 SQL (0.6ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:20.760350' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:20.768089' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.769418' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:20.783045' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:09:20.790639' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (6.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.843106' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:20.925682' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.926591' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:20.930708' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:20.931526' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:20.987930' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.056140' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:21.081660' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.082475' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (6.9ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (154.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.297650' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (12.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.318343' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (7.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:21.330300' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:21.333800' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:21.334840' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.336181' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:21.346307' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:21.351341' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:21.352376' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.7ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.465462' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.482899' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:21.487942' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (157.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (141.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.840964' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:21.857700' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:21 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.6ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:21.868579' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:21.872700' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (9.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (263.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.203380' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.225378' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.227211' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:22.232722' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.233701' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (4.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:22.244070' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:22.258296' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:22.259212' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:09:22.260873' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:09:22.267372' WHERE "posts"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:22.268903' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.317439' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.326073' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.327067' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:22.329990' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:22.331102' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:09:22.334094' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:09:22.334951' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.381368' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.393988' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:22.400868' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (1.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.450674' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.458543' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.462528' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:22.463548' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:22.467027' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.467899' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:22.470874' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.471683' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.519368' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.527666' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.528594' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:22.531114' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:22.532008' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:09:22.535852' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.595858' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.603603' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.607164' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:22.608093' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:22.611331' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.612172' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:22.615186' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.616122' WHERE "users"."id" = 4  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:22.620919' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:22.621634' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (2.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:22.648397' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:22.649603' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.696576' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.706645' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.758164' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.765903' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.769645' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.770307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:22.773583' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:22.774475' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:22 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:22.777434' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:22.778493' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:09:22.781965' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (278.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.128680' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.140407' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:23.143088' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:09:23.144914' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.195343' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.203501' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.204496' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:23.209211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:23.210051' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.262038' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.270839' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.271869' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:23.275270' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.276139' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:23.279249' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:23.279838' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:23.282488' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:23.283411' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.334249' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.342438' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.343344' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:23.347679' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:23.348423' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.398188' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.406563' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:23.410796' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:09:23.414330' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:23.415300' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.480053' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.487709' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.491804' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.492653' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:09:23.497570' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:23.501672' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:23.505866' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:23.509156' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.510106' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:23.510998' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:23.511978' WHERE "communities"."id" = 3  (1.8ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:09:23.541782' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:09:23.543236' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.2ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.593568' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:23.607711' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:23.608627' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:23.612253' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (304.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (80.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.069013' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.086575' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:24.091687' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:24.096592' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:24.098404' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:24.099740' WHERE "users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:24.101826' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:24.106453' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:24.111118' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:24.112602' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.113931' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:24.115315' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:24.118707' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:24.119587' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.178203' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:24.188433' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.189547' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:24.193018' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.194102' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:24.197989' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:24.199049' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:24.203249' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:24.204174' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.255483' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.262612' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:24.264502' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:24.267267' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.268040' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:24.273655' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:24.275466' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:24.278270' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:24.281026' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:24.281810' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:24.282719' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:24.283959' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.331568' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.384732' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.449053' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:24.458108' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.459003' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:24.467939' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (1.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:24.499226' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.500177' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:24.507969' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:24.508980' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:24.511379' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:24.512424' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (231.0ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.824500' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:24.839852' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:24.841205' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:24.846826' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (110.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.033885' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.046916' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:25.051130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:25.054400' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.101126' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:25.109931' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:25.110778' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.159170' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.160240' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.216619' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.223703' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.273482' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:25.298462' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:25.299262' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (2.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.374839' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.375795' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.383800' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.385492' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.387069' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.388789' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.390465' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.392081' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:25.393835' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:25.398731' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:25.399719' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.402090' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.402914' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.403776' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.404387' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.405222' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.406110' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:25.406864' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.450727' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.458347' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:25.460205' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:25.462792' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:25.465827' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:25.466702' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.467560' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:25.468836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.514769' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.522330' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.526211' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.527014' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:25.531426' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:25.534965' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:25.538268' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.539180' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:25.540033' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:25.541307' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.587186' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.594617' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:25.598299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:25.601437' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.602191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.603117' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:25.604303' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.650404' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:25.657622' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.704152' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:25 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:25.728837' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:25.730168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (87.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (183.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.065354' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.077159' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.078479' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:26.082775' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.083908' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:26.089108' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:26.095593' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:26.096284' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:09:26.098116' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (3.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:09:26.130499' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:26.132190' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.206831' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.214336' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:26.217823' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:09:26.221872' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:26.222733' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.296794' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.304280' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:26.308932' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.388659' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.396537' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.400582' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.401276' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:26.406267' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:26.407175' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:26.410001' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:09:26.410736' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:26.413791' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:26.417330' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:26.420487' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.421960' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:26.422917' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:26.424155' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:26.427963' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:26.428643' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:26.431805' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:09:26.432876' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.503317' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.510466' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:26.514640' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:26.517963' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.518868' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.519528' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:26.520955' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (8.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.582021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.589555' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:26.592926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:26.596166' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.597239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.598211' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:26.599407' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (16.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.687811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.696905' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.698028' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:26.703084' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.789183' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.798706' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:26.804547' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.805680' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:09:26.809057' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:26.900272' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:26 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.010479' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.018258' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (26.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.115851' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.123764' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.172088' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.229024' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.236505' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:27.239978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.240976' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:27.245004' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:27.245881' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:27.247750' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:27.250262' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:27.251035' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:27.254718' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:27.256448' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:27.259238' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:27.262783' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:27.263820' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:27.264666' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:27.265915' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:27.268426' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:27.269296' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:27.273896' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:27.276997' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:27.277846' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:09:27.278248' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:27.279338' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.324200' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:27.386931' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.387839' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (213.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (292.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.963075' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:27 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:27.982144' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:27.983701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:27.987341' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:27.988290' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:28.017241' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:09:28.018324' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.063331' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.071585' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.072476' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:28.075652' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:28.076547' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:28.079305' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:09:28.080161' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.127428' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.176977' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.184235' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.187922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.188819' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:28.192160' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:28.193093' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:28.198738' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:28.199625' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.203457' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:28.207218' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:28.210148' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.211010' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.211947' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:28.213041' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:28.216050' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:28.216634' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:28.221978' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:28.222899' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.267580' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.275114' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.278729' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.279669' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:09:28.282227' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:28.283590' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:28.286256' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.287299' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.332068' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.339277' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:28.342951' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.387049' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.412032' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.415860' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.416590' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.421674' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:28.425237' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:28.428644' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.429340' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.430284' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:28.431789' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.479537' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.486448' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.490877' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.491712' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:28.494666' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.495606' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:28.499225' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.500184' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.573639' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.581561' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:28.585269' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:28.588803' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.589743' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.590645' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:28.591843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:28.595126' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:28.595930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.646503' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.654154' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.655054' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:28.661212' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:28.662116' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.709522' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.766041' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.773535' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:28.775589' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:28.778272' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.778976' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:28.782138' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.782962' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:09:28.785815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.786601' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.839553' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.846830' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.896343' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.903682' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.907308' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:28.908161' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:28.912525' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:28.913253' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:09:28.917040' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:09:28.917999' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.921230' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:28 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:28.924490' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:28.944376' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:28.945388' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:28.946392' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:28.947627' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:28.951010' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:28.951943' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:09:28.955114' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:09:28.955915' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (274.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.306722' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:29.318601' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.319468' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:29.323739' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.324914' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:09:29.331007' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:29.337014' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:29.337950' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:09:29.339929' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:09:29.345076' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:09:29.346724' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.392960' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.426668' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:29.428852' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:29.432096' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.433182' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.478514' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.486460' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:29.490250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.491069' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.494791' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:29.495772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:09:29.504177' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:29.505804' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.552172' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.560141' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:29.564766' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.610517' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.617548' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:29.622107' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:29.622944' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:29.625816' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.626803' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.636984' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:29.637976' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.643367' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:29.644230' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:29.650759' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:29.651643' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.695429' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (22.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.768484' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.823881' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.831658' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:29.835445' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:29.838558' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:29.839576' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:29.840810' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:29.842250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:29.845346' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:29.848832' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:29.849799' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.850817' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:29.852058' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:29.854212' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:29.855166' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.933922' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:29.942410' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.943362' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:29 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:29.946484' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:29.947450' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.950933' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:29.951878' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.955382' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:29.956284' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:29.961901' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:29.967293' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:29.968150' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:29.974467' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.018447' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.025576' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.029151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.029959' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.072649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.081126' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.082083' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:30.084175' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:30.085231' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.134588' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.142600' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:30.144433' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:30.147119' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.147905' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.195551' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.203361' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.254367' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.261666' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:30.265312' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:30.285818' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.286843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.287830' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:30.289138' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:30.292662' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:30.293360' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:09:30.296500' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:09:30.297787' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.342042' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.350093' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.351062' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:30.355020' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:30.356000' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.400731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.408856' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.409938' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:30.413909' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:30.415058' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:09:30.420581' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.464394' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.499176' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.503429' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.504459' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:09:30.509310' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (145.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (135.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.863533' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:30 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:30.873231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:30.874153' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:30.876679' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:30.878208' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (421.9ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.360774' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.375816' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.381476' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:31.382538' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.442592' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.452743' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.457669' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.458977' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:31.464353' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:31.465811' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:31.469052' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:31.472325' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:31.475457' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.476401' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:31.477288' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:31.478642' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:31.482403' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:31.483172' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.528809' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.536449' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.540857' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.541877' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.592914' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.618335' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:31.624336' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:31.628105' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.629075' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.630132' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:31.631531' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't')  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.676603' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.685421' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.686384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:31.689160' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:31.690041' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:09:31.694277' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:31.695202' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:09:31.695991' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.743579' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.751405' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:31.755030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.755963' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:31.759604' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:31.760589' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:31 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:31.763723' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:31.764674' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (260.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (41.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.130976' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.139359' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:32.143263' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:32.146180' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:32.147841' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.148818' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:32.150048' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:32.154247' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:32.155136' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:32.158087' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:09:32.158876' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.206070' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.213976' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:32.215739' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:32.218313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.218984' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:32.222122' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:32.222938' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:09:32.225939' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.226666' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:09:32.230292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.277652' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:09:32.286242' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:09:32.287069' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:32.335383' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:32.336398' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (17.7ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.362614' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.364570' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.366207' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.368099' WHERE "inkwell_timeline_items"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.369911' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.371605' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:09:32.373331' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (216.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (339.5ms) DELETE FROM "inkwell_blog_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (283.8ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.280917' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.296087' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.343419' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:33.351538' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.352484' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:33.355937' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.356872' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:33.360067' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:33.361068' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:33.363426' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:33.364175' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:33.370365' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (219.0ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.662771' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (29.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:33 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:33.704082' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:33.705188' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (819.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.586934' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.597795' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:34.603722' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (237.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.888418' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:34.898648' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.899594' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:34.902732' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:34.903531' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.953205' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:34 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:34.963789' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:34.965282' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:09:34.970510' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:09:34.971354' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.018711' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.026183' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.030235' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:35.031069' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:35.032114' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:35.034873' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.035673' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:35.039501' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:35.043080' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:35.045993' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.046923' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:09:35.047993' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:35.049282' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:35.050739' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:35.053810' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:09:35.056908' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:09:35.057724' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:35.058480' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:35.059712' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:35.069495' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:35.089482' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:35.091789' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:35.092656' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.140971' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.149034' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.150079' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:35.154222' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:35.154972' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.203840' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.211662' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.215461' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.216454' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:09:35.220873' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:09:35.221815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.270815' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.278572' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.282384' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.283301' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:35.289272' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:35.290149' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:35.294129' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:35.324967' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:09:35.328163' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.329354' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:35.330339' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:35.331572' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:35.335563' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:35.336540' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.381545' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.441615' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.448891' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:35.451281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.540428' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:35.550768' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.551722' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:35.555301' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:35.556153' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:09:35.560180' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.658593' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.673188' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:35.676252' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.768666' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:35.781846' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:35 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:35.788251' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (436.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.310469' WHERE "users"."id" = 3 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.350889' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.351947' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.399576' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.406892' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:36.408867' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:09:36.414558' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.415523' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.419111' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.470407' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.479350' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.480339' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:36.484453' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:09:36.485371' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:36.491386' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.492286' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:36.496378' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:09:36.497289' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:36.505208' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.506125' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:09:36.509591' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:09:36.510401' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.560252' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (27.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.596345' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:09:36.598473' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.648636' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.656393' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.659856' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.660768' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:09:36.664137' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:09:36.665055' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:09:36.668278' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.669187' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.672332' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.721431' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.771309' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.779168' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:09:36.783144' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:09:36.787549' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.836369' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:09:36.844357' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.845282' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:09:36.849352' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:09:36.850231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.896903' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:09:36.904505' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:09:36 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.7ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.619261' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.694792' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:41.701856' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (9.4ms) DELETE FROM "communities";  (0.7ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.761493' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.770605' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:41.774346' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.775220' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:41.784806' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:41.786802' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:41.790395' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:41.794681' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:41.798450' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:41.799263' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:41.800232' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:41.801480' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:41.805689' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:41.806577' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.866637' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:41.878067' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.879018' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:41.882219' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:41.883049' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.6ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.939272' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.950047' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:41.954344' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:41.955266' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:41.956532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:41.961190' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:41.961966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.6ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.9ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:41.984628' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:41.989448' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:41.992559' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:41.993417' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:15:41.994922' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:41.996219' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:41.997656' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:41 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:42.000104' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:42.004302' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:42.005195' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:42.006173' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:42.007347' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:42.017950' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:42.018771' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:42.020700' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:42.021582' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (11.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.081580' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.092546' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.094340' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:42.099775' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.4ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (19.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.178506' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.186583' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.191078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.191992' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:42.196664' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:42.197337' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:42.200387' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:42.204511' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:42.207743' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.209310' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:42.210107' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:42.211286' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:42.215505' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:42.216367' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.266021' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.274302' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.275344' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:42.279248' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.280055' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:42.283583' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:42.284568' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:42.288553' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:42.289823' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (12.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (252.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.599911' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.613541' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:42.623781' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.634455' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:42.635310' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.687795' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.745266' WHERE "users"."id" = 3 SQL (1.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:42.781083' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:42.781952' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.832583' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.833700' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.841355' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.843350' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.844898' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.846507' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.848213' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.850645' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:42.852244' WHERE "inkwell_timeline_items"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.906745' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.922638' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:42 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:42.932584' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:42.934025' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:42.985281' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:42.986478' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:15:42.997700' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:15:42.998491' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:43.002794' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:43.014326' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:43.017698' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:43.019260' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:43.020167' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:43.029767' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:43.033724' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:43.034553' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:15:43.046688' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:15:43.047693' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.100810' WHERE "users"."id" = 3 SQL (0.6ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.109103' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.157655' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:43.180567' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.181857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (1.7ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:43.188979' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:43.191713' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (1.7ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.7ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:15:43.209210' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (9.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.269700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:43.285808' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.286801' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:43.290159' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:43.291014' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:15:43.294921' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (10.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.355405' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.371331' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:43.376741' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:43.382918' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.383860' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:15:43.391803' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:43.392529' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (1.6ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.7ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.448373' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:43.468495' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:15:43.475287' WHERE "users"."id" = 3 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (1.7ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.531178' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (5.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (332.3ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.933120' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.951957' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:43.953701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:43.962085' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.962930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:43.968050' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:43.971953' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:43 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:15:43.977142' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:43.977938' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:15:43.984772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.8ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (6.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (8.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.079858' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.095503' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:44.167773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Exists (1.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:44.180731' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.181663' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.182738' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:44.184139' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't')  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.236136' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.254164' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.256694' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:44.265677' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:44.266267' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:44.270422' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:15:44.272605' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.330885' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.354978' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:44.357676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:44.362239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.363199' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:44.370806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (2.4ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:44.372107' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:15:44.378922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.379891' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.437384' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.460127' WHERE "users"."id" = 2 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.472125' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.472953' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (6.7ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:44.487041' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:44.488274' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:44.491531' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:15:44.498865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:44.502043' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:44.513300' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (1.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:44.518449' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.519436' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:44.520310' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:44.521630' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (7.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:44.536664' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:44.538937' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:44.542220' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:15:44.543108' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (21.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.622988' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.631430' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.635672' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.636580' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:44.644509' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:44.645538' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (54.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.753192' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.815795' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.830046' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:44.839213' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:44.840117' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:44 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:44.851672' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:44.853088' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:44.868743' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:44.869700' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:44.880139' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:44.881554' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:44.893101' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:44.894048' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (197.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.146888' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (1.9ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.165731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.220774' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.229093' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:45.231657' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:45.234436' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:45.238286' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:45.239828' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.240830' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:45.242055' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.0ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.296617' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.317621' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:45.322279' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:45.334714' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.387805' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.401079' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (3.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:45.407375' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.460734' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (8.5ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.552107' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.575259' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:45.586019' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (15.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:45.653403' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.709701' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.729061' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:45.732797' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:45.743992' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:45.744966' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.745891' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:45.747154' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:45.760624' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:45.761504' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:45.764724' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:15:45.765632' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.816159' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.829151' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:45.833192' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:15:45.834163' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.880387' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.933781' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.941597' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:45.943339' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:45.948009' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.949233' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:15:45.952597' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:45.998066' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:45 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.005359' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.009270' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.010177' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:46.014166' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:46.015079' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:46.020180' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:46.023747' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:46.027131' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.027994' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:46.028644' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:46.029935' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:46.033218' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:46.033923' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.085044' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.092428' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.143500' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.151228' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.151970' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:46.157099' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:46.158026' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.224957' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.233211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.234145' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:46.236849' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:46.237818' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:15:46.241984' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.287511' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (3.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.323411' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.324419' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:46.327334' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.328194' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:46.332993' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:46.339579' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:46.340568' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:15:46.342510' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:15:46.348820' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:46.350475' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (203.7ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.621173' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.635494' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.637446' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:46.642904' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.643772' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:46.647349' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:46.648207' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:46.651937' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:46.653061' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:46.658547' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:46.664109' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:46.665083' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:46.670772' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.714640' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.722218' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.725785' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:46.726630' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:46.729562' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.730594' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:46.733334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.734227' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.0ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.9ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.781326' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.789043' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:46.793327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:46.796452' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.797282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.798112' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:46.799342' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.849455' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.856699' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.860352' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:46.861125' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:46.864264' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.865170' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:46.868204' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.869138' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.916853' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.939791' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:46.943666' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:46.946571' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:46.947614' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:46.948600' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:46.950457' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:46 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:46.953437' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:46.956469' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:46.957426' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:46.958337' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:46.959586' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:46.961910' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:46.962851' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (3.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.038782' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:47.046616' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.094797' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.102293' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:47.106265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:15:47.109902' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:47.110820' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.156159' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.170228' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.171285' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:47.174931' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.222711' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.230297' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.233916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.234725' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:47.237638' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:47.238413' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:47.241278' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.242225' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.288148' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.295966' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.300140' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:47.301049' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:47.304217' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.305218' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:47.308127' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.308853' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:47.313275' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:47.314145' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:47.317077' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:47.318092' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.363175' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.371142' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.372079' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:47.374845' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:47.375700' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:15:47.379255' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:47.380102' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:15:47.381032' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.442640' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.452245' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.453325' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:47.457810' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:47.458737' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.505059' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:47.514308' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:47.515093' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.590346' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.591227' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.2ms) rollback transaction  (204.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.870946' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.879317' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:47.883089' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.933571' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:47 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:47.943550' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:47.944478' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:47.946993' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:47.947903' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.3ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.024733' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.033537' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.037968' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.039209' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:15:48.042373' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:48.043870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:48.046937' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.047760' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.122929' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.131027' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:48.134774' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:48.138154' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.139287' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.140560' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:48.141895' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.217699' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.225469' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.229194' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.230050' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:48.249794' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:48.250880' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.322694' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.329688' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.334505' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.335497' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.340387' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:48.344100' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:48.347018' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.348021' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.349079' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:48.350417' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.452191' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.460619' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.461572' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:48.464885' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:48.465893' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:15:48.470670' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.542336' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.549674' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:48.551480' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:48.554027' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.554941' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.646178' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.659828' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:48.665254' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.668879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.670037' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:48.676360' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:48.677506' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.678534' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.752316' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.759919' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.763603' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.764457' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:48.767525' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:48.768374' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:48.774267' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:48.775190' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.778553' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:48.782169' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:48.785272' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.786195' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:48.787185' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:48.788421' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:48.790814' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:48.791738' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:48.797551' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:48.798343' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.897280' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:48.917324' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.919514' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:48.925753' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:48.926514' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:48.994670' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:48 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.018267' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.022423' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.023298' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:49.028430' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:49.029106' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:49.033063' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:15:49.034007' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:49.037030' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:49.040863' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:49.044118' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.045084' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:49.045826' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:49.046995' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:49.051081' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:49.052035' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:49.056302' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:15:49.057406' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.128969' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.137977' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.138647' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.184437' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.192085' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.193115' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:49.195994' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.196846' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:49.199799' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:49.200826' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:49.208150' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:49.209362' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.262339' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.269605' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:49.273164' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (216.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.549861' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.560997' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.565542' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.566479' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:49.572911' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:49.574005' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (17.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.631404' WHERE "users"."id" = 3 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.639376' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.640180' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:49.642902' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:49.644586' WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.694825' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.703657' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.704648' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.755897' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (113.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.937000' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:49 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:49.964288' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:49.965282' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:49.970100' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:49.971092' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.016828' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.025173' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.025964' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.070416' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.078039' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.082008' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:50.082838' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:50.085753' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.086753' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:50.123098' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:50.124181' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:50.129556' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:50.130366' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:50.136858' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:50.138014' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.183613' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.236047' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.243341' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:50.245145' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:50.248015' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.248984' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.251638' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.295447' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.302598' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:50.306820' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:15:50.309639' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:50.311027' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.361041' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.369187' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.370078' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:50.373033' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.373849' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:50.377569' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:50.382778' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:50.383567' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:15:50.385405' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:15:50.389718' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:50.391062' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.437128' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.444361' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:50.447909' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:50.451149' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.452029' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.453071' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:50.454247' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:50.473814' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:50.474816' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.521517' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.529394' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.530276' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:50.536312' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:50.537245' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.583995' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.591568' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:50.595297' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (2.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:50.626569' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.627739' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:50.628844' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:50.630218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:50.633390' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:50.636466' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:50.637339' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.638285' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:50.639506' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:50.642185' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:50.643034' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (233.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.5ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.957794' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.969635' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:50 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:50.974611' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:50.975727' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:50.979979' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:50.980882' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.023874' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.032156' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.033153' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:51.036551' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:51.037393' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.080475' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.126234' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.127070' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.190576' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (15.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.213445' WHERE "users"."id" = 2 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:51.216134' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:51.219344' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.220187' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.269071' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.276873' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:51.281625' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.328149' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.379008' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.387366' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (2.4ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.388305' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:51.419616' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.467315' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.475188' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.476069' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:51.479733' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:51.480650' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:51.483579' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:15:51.484453' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.528202' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.535510' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.580059' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.587414' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.591099' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.591732' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:51.594795' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:51.595677' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:15:51.605048' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:51.605942' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.653104' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.704606' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.712390' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.713412' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:51.716420' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.717236' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:51.720475' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:51.721355' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:51.723918' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:51.724571' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:51.729905' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.775673' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.842801' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:51.852375' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.853400' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:51.856843' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:51.857813' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.902862' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.910931' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:51.914514' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:51.961588' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:51.970505' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:51.971334' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (25.5ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:52.046819' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.047535' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.055649' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.057156' WHERE "inkwell_timeline_items"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.058808' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.060536' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.062093' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.063776' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:15:52.065446' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:52.070268' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:52.071168' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.073564' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.074373' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.075141' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.075801' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.076643' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.077511' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:52.078283' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.121879' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.129244' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:52.132997' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:52.136802' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.199816' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.2ms) rollback transaction  (7.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.286577' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.294271' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:52.297827' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:52.298638' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:15:52.303528' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.8ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.7ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:52.324717' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:52.328952' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.4ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:52.332646' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:52.333260' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:52.334213' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:52.335280' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:15:52.340056' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:15:52.341207' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.2ms) rollback transaction  (880.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (123.2ms) DELETE FROM "inkwell_blog_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.416378' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:53.429600' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.430480' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:53.433577' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.434496' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.468503' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (3.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.503983' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.510300' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.516643' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.523192' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.529962' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.535785' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.541969' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.547997' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.554876' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.561044' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:53.566992' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:53.571781' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:53.572914' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.574662' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.575792' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.577035' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:53.578929' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:15:53.579898' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.582059' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.583213' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:15:53.584338' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:53.588502' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:53.589531' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:53.590390' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.591878' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.592349' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.592924' WHERE "inkwell_timeline_items"."id" = 21  (0.2ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.593484' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.594100' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:53.594644' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.647487' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.654849' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.707064' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.732501' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:53.737676' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:53.740821' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:53.741815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.742722' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:53.743888' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.788034' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:53.796881' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.797846' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.850649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.858452' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:53.862295' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:53.865769' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:53.866674' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.867582' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:53.868837' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:53.872366' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:53.873358' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:15:53.876960' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:15:53.877866' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (26.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.948580' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:53.958090' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.959072' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:53 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:53.962151' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:53.963055' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:53.966071' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:53.967064' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:53.969787' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:53.970724' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.015743' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.023162' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:54.026911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:54.029813' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.030649' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.031597' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:54.032875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:15:54.036080' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:54.037023' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.083831' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.090861' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.094450' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:54.095365' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.143512' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.150535' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:54.152468' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.204375' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.212211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.213177' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:54.215784' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:54.216858' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:15:54.219468' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:15:54.220367' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.284080' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.292604' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.293990' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:54.296794' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:54.297561' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (220.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (60.0ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.645505' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.659428' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.660560' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:54.665198' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.666491' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:54.670997' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:15:54.677641' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:15:54.679163' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:15:54.681299' WHERE "inkwell_timeline_items"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:15:54.687267' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:15:54.689341' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.743211' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.752954' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:54.755691' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:54.758921' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.759888' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:54.767348' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:54.796986' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:54.800228' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:54.803560' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:54.804457' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:54.805318' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:54.806563' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.857612' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.864731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:54.868851' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.869771' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:54.873503' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:54.874342' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:15:54.883520' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:54.884394' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.932885' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.940310' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.986769' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:54.994386' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:54.999240' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.045041' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.053582' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.054511' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.057620' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:55.058603' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:15:55.063644' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:15:55.064826' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.109080' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.135943' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.137093' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:15:55.145933' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:55.152351' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.153425' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.161203' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:55.162201' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.165006' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:55.165787' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.219729' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.227757' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:55.232162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 2, "updated_at" = '2013-03-15 12:15:55.234795' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't'  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.285202' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.320378' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:55.324281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:55.327555' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.328614' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.329455' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:55.330781' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.380984' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.388365' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:55.392514' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.437045' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.444946' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.448645' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.449542' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:55.452375' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:55.453324' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:55.456585' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.457296' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.460543' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.509380' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.516622' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:55.518126' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:55.520855' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.521438' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:55.524626' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:55.525571' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:15:55.528844' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.529662' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:15:55.532844' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.580891' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:55.589003' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.590144' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.593223' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:55.594232' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:55.617295' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.618288' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.621642' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:15:55.622347' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:55 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:55.630407' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:55.631207' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:55.634392' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:15:55.635345' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (509.6ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.226424' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (1.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.245223' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:56.250679' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:56.256562' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.3ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.315982' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.328443' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.334672' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.335650' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:15:56.338393' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.387710' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.422530' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.475608' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.483377' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.487833' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.488831' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.540955' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.548339' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.551858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.552853' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:56.557559' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:56.561269' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:15:56.564921' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.565810' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:56.566672' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:56.567831' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.619639' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.626872' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.676352' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.684006' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.687623' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.688452' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:56.691737' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:56.692943' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:56.695038' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:56.697532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:56.698356' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:56.701963' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:56.703743' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:56.706157' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:56.709219' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:56.710070' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:56.729557' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:56.731165' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:15:56.734262' WHERE "inkwell_community_users"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:15:56.735081' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:56.739787' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:15:56.742430' WHERE "inkwell_community_users"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:15:56.743334' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:15:56.744148' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:15:56.745326' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.792560' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.799812' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:15:56.804439' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.851446' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.861339' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.862201' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:56.865794' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:56.866720' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.911730' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.919679' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:56.924360' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.925290' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:56.973700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (2.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.010636' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:57.014738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.015690' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:57.018889' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:15:57.019812' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:15:57.026563' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:15:57.027496' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.075613' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.083308' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:57.085157' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.134782' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:57.143440' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.144428' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.193228' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.200966' WHERE "users"."id" = 2 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:57.206015' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.206966' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:15:57.212622' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.261439' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.268731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:15:57.272314' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.273166' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:15:57.276433' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:15:57.277273' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:15:57.280960' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.281892' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:15:57.285280' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (92.7ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (207.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.668622' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.676590' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:15:57.678542' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:15:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:15:57.681225' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:15:57.682029' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:15:57.686656' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:15:57.687677' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.383503' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.435699' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:01.438292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:01.441067' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.441988' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:24:01.462020' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:01.463113' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (302.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.8ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.846437' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:01.860528' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.861586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.910676' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.960644' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.967852' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:01.969927' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:01.972451' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.973343' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:01.976006' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:01.976977' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:01 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:24:01.979945' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:01.980792' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.027593' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.035361' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:02.039430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:24:02.042707' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:02.044608' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (28.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.126850' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.155638' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:02.159281' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:02.162611' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.163601' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.164586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:02.165737' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (27.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.261165' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.276117' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.280055' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.280941' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:02.285013' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:02.288857' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:02.292072' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.293103' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:02.294034' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:02.295169' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.344837' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.352110' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.355808' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:02.356630' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:02.359437' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.360386' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:02.369236' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:02.370096' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:02.375135' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:02.375974' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:02.380200' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:02.381228' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.425208' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.433192' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.434083' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:02.461880' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:02.462979' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.515203' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.522603' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.525926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.526809' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:02.531748' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:02.532585' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:02.535679' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:02.539260' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:02.542115' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.543141' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:02.544089' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:02.545375' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:02.548874' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:02.549807' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.597337' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.604270' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:02.607989' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.651751' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.697765' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.698686' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.769982' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:02.778505' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.779484' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:02.782550' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:02.783616' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:02.811098' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.811996' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:02.815483' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:02.816247' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:02.824585' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:02.825280' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:02.828324' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:24:02.829279' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (211.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (2.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.119295' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.132200' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:03.138503' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:03.143505' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.144422' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.145395' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:03.146562' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:03.150404' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:03.151239' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.197047' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.205126' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.206222' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:03.210486' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.258513' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.266982' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.267890' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:03.270770' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.271548' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.274657' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:03.275597' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.278981' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:03.279908' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:03.285110' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.290645' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:03.291520' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:03.297632' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.342121' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.349193' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.353353' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.354229' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:24:03.356912' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:03.358296' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:03.360540' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:03.361300' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.406115' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.414277' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.415145' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:03.418396' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:03.419279' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:03.422170' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:24:03.423121' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.2ms) rollback transaction  (2.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.480662' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.488180' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (2.5ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:03.492067' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:03.518174' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.519537' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.520481' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:03.521858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.568663' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.576731' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.580297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.581182' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.584367' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:03.585266' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:24:03.594922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:03.595814' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.649114' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.658234' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.658873' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.710801' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.718326' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.722155' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:03.722910' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:03.725918' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.726790' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:03.729967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.730774' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.734868' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:03.735764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:03.738587' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:03.739430' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.783765' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.791845' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.792532' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:03.795347' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.796248' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:03.799739' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:03.809224' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:03.810165' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:24:03.812076' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:24:03.817341' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:03.818759' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.864412' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.871639' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:03.875246' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.919754' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.927324' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:03.930784' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:03.933800' WHERE "inkwell_community_users"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:03.949225' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:03.950251' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:03.951707' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:03.955865' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:03.956876' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:03.960681' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:24:03.961591' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.028923' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.036141' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:04.038019' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:04.040858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.041662' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:04.044994' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.045822' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:24:04.048750' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.049588' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:24:04.053023' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.101013' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.108387' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.112217' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.113041' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:04.114276' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:04.116890' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.117701' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.121489' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:04.124988' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:04.128092' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.129120' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:24:04.130180' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:04.131256' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:04.132808' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:04.135255' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:04.138097' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:04.139056' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.139930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:04.141139' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:04.150921' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:04.151552' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:04.153943' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:04.154770' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.201519' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.208923' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.212464' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.213189' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:04.216882' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:04.217761' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:24:04.226851' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:04.227675' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.279151' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.287159' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.288127' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:04.291503' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:04.292459' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.338828' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.346436' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:04.348266' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:04.350716' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:04.353981' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:04.354831' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.355661' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:04.357066' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.421682' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.429616' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.434820' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.507363' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.514947' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.518853' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:04.519699' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:04.524067' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:04.525035' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:04.529115' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:24:04.530179' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.533460' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:04.537098' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:04.540370' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:04.541365' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:04.542237' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:04.543469' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:04.546947' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:04.547934' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:04.551424' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:24:04.552353' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (501.3ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.129114' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.140532' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.146296' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.147438' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:05.153932' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:05.154789' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.159219' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:05.162804' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:05.165802' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.166725' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.167566' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:05.169558' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:05.173063' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:05.173927' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.219929' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.227349' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:05.231594' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:05.235336' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.283502' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.291190' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:05.294691' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.341403' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.348687' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.398249' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.405351' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.409192' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.410082' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:05.415328' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:05.416381' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.434154' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:05.438130' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:05.441482' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.442357' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.443243' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:05.444505' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:05.448372' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:05.449246' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.495639' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (20.5ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (2.5ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.527229' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:05.530894' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.533746' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.534541' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:05.539057' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:05.540636' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.541474' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.591946' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.609392' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.610425' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:05.613228' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:05.613951' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.664547' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:05.673378' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:05.674150' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:05.723367' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.724446' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.5ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.802031' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (10.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:05.906064' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:05.913330' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:24:05.917071' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (9.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.011600' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:06.048452' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.051242' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:06.056472' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (568.7ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.703048' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.716397' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:06.719922' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.720839' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:06.725959' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:06.729561' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:06.732422' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:06.733273' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:06.734207' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:06.735489' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.782158' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.789240' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:06.793382' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.794278' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:24:06.801236' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.851983' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.859414' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:06.863352' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:06.867782' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.914711' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.922070' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:06.923977' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:06.926302' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.927277' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:06.943973' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:06.945176' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:24:06.948447' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:06.949339' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:24:06.952832' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.002838' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.010606' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.015076' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.016025' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (24.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.086330' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.137446' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.145476' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.146287' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:07.149424' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:07.150302' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:07.153108' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:24:07.154563' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.198985' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.7ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.206388' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:07.210292' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:07.213723' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.264815' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.272218' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:07.275968' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:07.279122' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.280029' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:07.280990' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:07.282222' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:07.284626' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:07.288200' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:07.289074' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.289947' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:07.291116' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:07.293781' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:07.294450' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.341064' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.400401' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.407801' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.411361' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.412158' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.461700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.470051' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.470885' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:07.473789' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.474644' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.520571' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.527723' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.533782' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.540479' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (2.6ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.572109' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.578660' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.585078' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.591603' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.597562' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.603746' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.610336' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:07.616524' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:07.621822' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:07.622791' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.624654' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.625932' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.627185' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:07.629437' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:24:07.630204' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.631815' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.633125' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:24:07.634440' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:07.638467' WHERE "users"."id" = 3 User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:07.640200' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:07.641219' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.642944' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.643523' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.644091' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.644611' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.645024' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:07.645571' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.2ms) rollback transaction  (194.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.907093' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.917059' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:07.920855' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:24:07.924009' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:07.924972' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.969614' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:07.977818' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:07.978804' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:07.982293' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:07.983126' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:24:07.987467' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.034368' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.041635' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.089868' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.114331' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.115780' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:08.118841' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.119716' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:08.123143' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:08.124006' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:08.128261' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:08.129128' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.174903' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.184071' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.185188' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:08.189711' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:08.190671' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.266094' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.274454' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:08.278659' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 2, "updated_at" = '2013-03-15 12:24:08.281185' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.325548' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.333604' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:08.337289' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.387254' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.395013' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:08.399258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:08.402593' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.403583' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.404667' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:08.405895' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.454826' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.462782' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:08.466485' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:08.469249' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.470252' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:08.471226' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:08.472557' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:08.475111' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:08.478781' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:08.479695' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.480788' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:08.481995' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:08.484125' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:08.485071' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.575001' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:08.593223' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (8.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.5ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.9ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.701353' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:08.716955' WHERE "users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:08.718357' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.786666' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.787622' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.795844' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.797557' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.799322' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.801191' WHERE "inkwell_timeline_items"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.802975' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.804606' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:08.806233' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.928054' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.939302' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:08.943258' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:08.944061' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:08.947117' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:08.948032' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:08.958543' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:08.959416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:08.964576' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:08.965815' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:08.972342' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:08.973270' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.029046' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.037381' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:09.042332' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (8.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (9.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (10.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.126298' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.135264' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:09.137302' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:09.142545' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.143525' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:24:09.146956' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (8.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.224557' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.233624' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:09.235794' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.312726' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.395037' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:09.403739' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.404648' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (8.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.505783' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.537230' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:09.541324' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.542215' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:09.545311' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:09.546195' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:09.549282' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.550117' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.2ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:24:09.553424' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (303.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.938048' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.955880' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:09.961103' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:09.965603' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:09.966940' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:09.968321' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:09.970728' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (3.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (19.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.070432' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:10.078813' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.079738' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:10.084158' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.140987' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:10.149312' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.150220' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:10.154574' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:10.155403' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.202903' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.210795' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:10.212530' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:10.215233' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.216022' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:10.221288' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:10.223363' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:10.225815' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:10.229016' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:10.230006' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:10.231069' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:10.232208' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.279281' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:10.287361' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.288330' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:10.291104' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.292045' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:10.295461' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:10.296311' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:10.303450' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:10.304769' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.357148' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.412351' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.419510' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:10.440361' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.494452' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.501622' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:10.504047' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:10.507160' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.508117' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:10.513160' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:24:10.514951' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.562356' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.570066' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.621408' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (25.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.655309' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:10.657445' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:24:10.658619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.703122' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.710931' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:10.714533' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:10.715499' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.766710' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.774524' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.825076' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.832185' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:10.835892' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.836829' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:10.840435' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:10.841310' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:10 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:10.844227' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:10.845098' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (286.0ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.3ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.199170' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.214365' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:11.218764' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:11.222045' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.223034' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.223977' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:11.225267' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:11.228848' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:11.229757' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:24:11.233120' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:24:11.234073' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.283550' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.290728' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:11.292460' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.344386' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.352058' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.355535' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.356400' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:11.377357' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:11.378503' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.423461' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.430665' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:11.432522' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:11.436405' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.437304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.483029' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.491104' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.494548' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.495505' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:11.498826' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:11.499737' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:11.507158' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:11.508152' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:11.511942' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:11.516254' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (2.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:11.546353' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.547630' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:11.548806' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:11.550122' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:11.552637' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:11.553718' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:11.559706' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:11.560722' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.608191' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.615541' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.661478' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.669491' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.670307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:11.673578' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.674506' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:11.678389' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:11.683762' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:11.684675' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:24:11.686472' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:24:11.691029' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:11.692561' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.737300' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.745177' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.802143' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.856489' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.864111' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.867762' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.868845' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:24:11.871302' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.921337' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.928540' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.949675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:11.950661' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:24:11.956048' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:11.960419' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:11.964010' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:11.967784' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:11.968820' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:11.969760' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:11.970938' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:24:11.975288' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:24:11.976548' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.021172' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.029031' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.033014' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.034056' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:12.037220' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:12.038848' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:12.044895' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:12.045903' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.094013' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.129371' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.130443' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:12.133150' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:12.134122' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:24:12.137088' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:24:12.138161' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.187099' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.195049' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.242535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.250003' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.254199' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.255160' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:12.262410' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:12.263329' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.311528' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.319178' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.323234' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.324071' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:12.327069' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:12.327803' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:12.330982' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.331886' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.335224' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.383777' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.392453' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.393384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:12.401453' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:12.407765' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.408811' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:12.432520' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:12.433887' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:12.437155' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:12.438035' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.485372' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.493143' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:12.495042' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:12.497738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.498578' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (230.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.803194' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.853334' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.861764' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.862722' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:12.866387' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:12.867317' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (32.0ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.941997' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:12.950435' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.951163' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:12.996501' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.050673' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.061348' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.062230' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:13.065823' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:13.066797' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.133377' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.141305' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:13.143167' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:13.146259' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.147135' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.149954' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.225074' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.232875' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.236846' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:13.237412' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:13.240478' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.241439' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:13.244218' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.245164' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (6.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.319599' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.328415' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.329322' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:13.332335' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.333024' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:13.336476' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:13.337403' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:13.339970' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:13.341249' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.434946' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.443082' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.5ms) DELETE FROM "inkwell_timeline_items";  (0.9ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.535135' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.549703' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.557364' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.558816' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:13.567071' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:13.568957' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.635681' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.643695' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:13.647186' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.650071' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:13.650891' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.724732' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.760443' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.764801' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:13.765687' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:13.770648' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:13.771528' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:13.774583' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:24:13.775488' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:13.778405' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:13.782355' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:13.785627' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:13.786319' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:13.787081' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:13.788351' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:13.792375' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:13.793278' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:13.796231' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:24:13.797218' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (605.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.475639' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.487356' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.488293' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:14.491829' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:14.492697' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.536725' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.544357' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.548144' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:14.549107' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:14.551688' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.552504' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:24:14.555532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.556429' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.605083' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.660731' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.668877' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.670058' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:14.673197' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:14.674127' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:24:14.698406' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:14.699443' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.743632' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.753545' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.754552' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.801661' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.810154' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.813800' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.814725' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:14.818699' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:14.819398' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:14.822256' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:14.824773' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:14.825736' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:14.829701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:14.831679' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:14.834258' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:14.837248' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:24:14.838198' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:14.839155' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:14.840417' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:14.843840' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:14.844956' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:14.849802' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:24:14.852850' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:24:14.853816' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:24:14.854848' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:14.856311' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.928021' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.935820' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:14.940429' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.984096' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:14.992580' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:14.993388' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:14.996076' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:14.997135' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:24:15.001887' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.045700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.054195' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.055219' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:15.058301' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.059135' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:24:15.063096' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:15.068381' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:15.069297' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:24:15.071065' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:24:15.077265' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.078698' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.124517' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.132017' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:15.135672' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:15.139404' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.140162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.141023' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:15.142340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:15.145761' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:15.146723' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.193701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.218898' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.220009' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:15.223579' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:15.224588' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:24:15.229053' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.272992' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.280982' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.282018' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:15.284822' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:15.285831' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:24:15.290021' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:15.290962' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:24:15.291711' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.336513' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:24:15.345361' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:24:15.346221' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.425568' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.426352' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.434914' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.436588' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.438100' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.439867' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.441755' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.443381' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:24:15.445248' WHERE "inkwell_timeline_items"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:15.450047' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:15.451065' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.453259' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.454137' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.455025' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.455881' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.456739' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.457640' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:24:15.458501' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.504732' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.512945' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.516648' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.517744' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:15.521553' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:15.522333' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (256.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.855952' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.868772' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.869836' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:15.872051' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:15.873118' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.921873' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:15.929921' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.930835' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:15.934396' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:15.935266' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:24:15.939703' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:15.983550' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.011254' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.012208' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:24:16.017700' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:24:16.018813' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.065925' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.074439' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:16.079686' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:16.084585' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.085592' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.086570' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:16.087819' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't')  (0.2ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.135632' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.185049' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.193124' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:24:16.195270' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.250711' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.258466' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (1.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:16.290692' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:16.293911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.344527' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.352230' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.355696' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.356584' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:16.361195' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:16.362191' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:24:16.365659' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:24:16.366309' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:16.369966' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:24:16.373819' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:24:16.377170' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.378085' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:24:16.378774' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:24:16.380069' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:24:16.384093' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:24:16.384997' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:24:16.388239' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:24:16.389146' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.440306' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.450488' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.451365' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:16.454898' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:16.455854' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.503199' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.511370' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.512307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:24:16.516077' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:24:16.516976' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.560408' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:24:16.568558' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.569454' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:24:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:24:16.591152' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:24:16.592045' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:16.595388' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:16.596300' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:24:16.599198' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:24:16.599899' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:24:16.605154' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.3ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.035149' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:54.094124' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.094965' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:54.116211' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:54.117469' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:54.120847' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:26:54.121704' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (11.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.181653' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.189416' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:54.193036' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.193858' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.4ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:54.204586' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:54.208748' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:54.212425' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:54.213214' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:54.214132' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:54.215271' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.263842' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.271384' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:54.273206' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.6ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.329170' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.349506' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:54.354285' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.407506' WHERE "users"."id" = 3 SQL (8.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.423710' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:54.428436' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.429420' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:26:54.437701' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.484819' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.493006' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:54.496488' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:54.498138' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:54.501913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.502776' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.3ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:54.525585' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.526588' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (2.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.581143' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.598461' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:54.603755' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:54.607953' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.608861' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:26:54.611830' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:54.612681' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:26:54.615367' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.616260' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (263.8ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.930865' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:54.996030' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:54 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (1.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.018178' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.019260' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:55.024381' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.026730' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:26:55.045182' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:26:55.046404' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:26:55.078474' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (3.3ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:26:55.083845' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (9.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.144159' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.167254' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.177697' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.178527' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:55.182250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:55.183078' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (5.7ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:55.185925' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.192378' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.199718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (7.8ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.265019' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (5.9ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.281961' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.283057' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.7ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:55.291835' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:55.293219' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (8.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (5.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.6ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.393101' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.416855' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:55.425972' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:55.429316' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.430395' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.481066' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.489054' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:55.493483' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:55.496847' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.497700' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.498676' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:55.499952' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:26:55.503223' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:26:55.504059' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.555032' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.570682' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.581506' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:55.582337' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:55.587297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.589241' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:55.596955' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.598305' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:55.608148' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:55.612954' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:55.615958' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:26:55.618586' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (2.0ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.675585' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.8ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.693007' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.695720' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:26:55.707080' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.770468' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.787486' WHERE "users"."id" = 2 SQL (1.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.798505' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.799469' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.7ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (2.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.858811' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.866388' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:55 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:55.882615' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:55.883501' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:26:55.892938' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:26:55.893977' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (264.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.211888' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:56.228463' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.229573' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (1.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.0ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (4.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.290561' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (1.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.307050' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:56.312974' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:56.322109' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:26:56.349983' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:56.351040' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.351915' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.6ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:56.353504' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (3.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.408376' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (3.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 3  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 3  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.498059' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.564489' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.581164' WHERE "users"."id" = 2 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:56.591926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.592737' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:56.598985' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:56.599890' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:56.607069' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.607985' WHERE "users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (6.5ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (5.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.674009' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (2.6ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.739424' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (5.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.6ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:56.862742' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:56.869656' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (2.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (108.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.065862' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.073701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:57.075846' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:57.079195' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.079885' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:57.086035' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:57.087676' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:57.090694' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:26:57.093962' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:57.094818' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:57.095587' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:57.096752' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (8.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.158019' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.176321' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.180526' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.187266' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (1.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:57.197098' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:57.197971' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (11.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.258197' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (6.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.276559' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (4.4ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.287113' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.288123' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (6.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:57.297498' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:57.298440' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:57.303463' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.304377' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.313265' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (5.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.376645' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.384726' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:57.388528' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:57.392295' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.393286' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.394264' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:57.395297' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.447184' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.465321' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.472933' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.476666' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:57.485148' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:57.486110' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.539012' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.586085' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.597312' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:57.598228' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.2ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (148.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.833890' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.853985' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:57.857963' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.6ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:57.866115' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (5.1ms) rollback transaction  (2.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.915921' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.923820' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:57.927952' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:57.931533' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.932476' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.933291' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:57.934463' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (3.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.986590' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:57.994560' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.995477' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:57 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:57.998773' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:57.999669' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:26:58.004105' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:26:58.009242' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:26:58.010120' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:26:58.012120' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:26:58.016887' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:26:58.018428' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.063766' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.071294' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.074916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:58.075818' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:58.078701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.079476' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.089472' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:58.090392' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (20.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.116333' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:26:58.117913' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:26:58.124600' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:26:58.125406' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.172000' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.179233' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:58.181060' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.225468' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.233220' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.234098' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:58.237157' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.238073' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.241258' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:58.242064' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.245526' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:26:58.246244' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.298953' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.306272' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.309897' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.310706' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:58.314686' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:58.315605' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.319595' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:26:58.320438' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:58.323454' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:58.327519' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:58.330174' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.331080' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:58.332138' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:58.333416' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:58.336990' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:58.337895' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:58.341648' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:26:58.342439' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.427853' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.509800' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.517386' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.518350' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:26:58.522730' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:26:58.523727' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.605342' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.615327' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.616073' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:58.618963' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:58.619909' WHERE "communities"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:26:58.622444' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:26:58.636858' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (14.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.738842' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:58 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:58.750246' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:58.751482' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:26:58.756383' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:26:58.757481' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:26:58.763589' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (409.1ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.279236' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.3ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.332344' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.340436' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.341363' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:59.344218' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.345083' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:26:59.349276' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:26:59.354437' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:26:59.355269' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:26:59.357135' WHERE "inkwell_timeline_items"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:26:59.363751' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:26:59.365302' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.411338' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.418636' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:26:59.420347' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:26:59.422896' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.423657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:26:59.426709' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:59.427525' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:26:59.430883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.431686' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:26:59.434893' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.481849' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.489876' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.493546' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.494182' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.497419' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:59.498326' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:26:59.506931' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:26:59.507681' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.555650' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.563150' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:59.567983' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.614776' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.623209' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.624158' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.627332' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:59.627929' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:59.633955' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.634747' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.651795' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:26:59.652815' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:26:59.660177' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.661221' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.664662' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:26:59.665417' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.715577' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (23.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.747326' WHERE "users"."id" = 2 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.751208' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.752057' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:59.757043' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:59.757876' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:59.760731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:26:59.764419' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:26:59.767582' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.769123' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:26:59.770037' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:26:59.771212' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:26:59.774422' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:26:59.775364' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.826041' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.834081' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.885612' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.900950' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.902039' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:26:59.906367' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.959271' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:26:59.968037' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.969004' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:26:59 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:26:59.971732' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:26:59.972653' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.976243' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:26:59.977106' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:26:59.979736' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:26:59.980612' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.026046' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.080102' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.087628' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.140660' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.148211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.149210' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:00.153587' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:00.155110' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.223427' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.231304' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:00.234926' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.282027' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.289376' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (2.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.363414' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.371846' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.372930' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:00.376301' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:00.377233' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:27:00.381598' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.425994' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.433691' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.437013' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:00.438020' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:00.441103' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.442051' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:27:00.445098' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.445903' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.494383' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.502795' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.503689' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:00.511531' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:00.518035' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.518839' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:00.526403' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:00.527264' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:00.529615' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:27:00.530382' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (294.9ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.5ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.890084' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.899482' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:00.903120' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:00.906092' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.907057' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:00.908047' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:00.909516' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:00.912304' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:00.915201' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:00.915940' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.917006' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:00.918331' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:00.921182' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:00.922097' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.973053' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:00.981438' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:00.982249' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:00.999755' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:01.000820' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.052605' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.061274' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.062259' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:01.065530' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:01.067128' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:01.070076' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:27:01.071116' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.146130' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.154403' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.155388' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:01.158620' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:01.159523' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:27:01.164857' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:01.165640' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.211211' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.262892' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.271985' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.273001' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.322015' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:01.329210' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.382045' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.389653' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.392836' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.393816' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:01.398445' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:01.402448' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:01.405886' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.406764' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:01.407485' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:01.408834' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.453723' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.512731' WHERE "users"."id" = 3 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.520360' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.524355' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.525265' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:27:01.527678' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.574366' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.598632' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.599634' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.651241' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.659527' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.9ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:01.665013' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:01.669018' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.669975' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.670733' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:01.671957' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't')  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.720916' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.728434' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:01.757313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:01.762161' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.809070' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.817164' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:01.820726' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:01.821499' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:01.825546' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:01.826245' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:27:01.835058' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:01.836053' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (259.8ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.7ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.2ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.169179' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.227534' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.235747' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.236654' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.286293' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.293946' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:02.295672' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:02.298235' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.299158' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.301379' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.351394' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.358544' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:02.360474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:27:02.361577' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.409701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.417081' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:02.421267' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.470217' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.477286' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:02.480991' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.483353' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:02.484138' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.551563' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.559336' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.562956' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.563687' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.609522' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.617391' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.668528' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.677075' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.681222' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.682134' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (2.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:02.712579' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:02.713536' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:02.719104' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:02.722948' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:02.726270' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.727167' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:02.728068' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:02.729355' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:02.733051' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:02.734034' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.779688' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.788462' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.789441' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:02.791870' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:02.793037' WHERE "users"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.1ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.838519' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.845998' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.8ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.894690' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.902876' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:02.904299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:02.907130' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.907936' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.951134' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.958257' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:02.962141' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:02.963071' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:02.965811' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:02.966618' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:02.975447' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:02.976473' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:02.981196' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:27:02.982022' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:02.986200' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:02.986912' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.030091' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.037831' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:03.042315' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.109262' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:03.118099' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:03.118953' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.7ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.196657' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.197445' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.206208' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.207818' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.209528' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.211185' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.212965' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.214799' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:03.216485' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:03.221226' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:03.221968' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.224272' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.225119' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.226048' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.226813' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.227432' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.228329' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:03.229213' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.274349' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.281894' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:03.286202' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 2, "updated_at" = '2013-03-15 12:27:03.288835' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.333301' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.340825' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.344351' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.345221' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:03.348840' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:03.349793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:03.351909' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:03.354373' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:03.355184' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:03.359004' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:03.360982' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:03.363461' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:03.366584' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:03.367481' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:03.368399' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:03.369518' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:03.372267' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:03.373212' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:03.377808' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:03.380875' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:03.381718' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:27:03.382587' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:03.383822' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.427636' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.435963' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.436941' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:03.439380' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:03.440230' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:27:03.445031' WHERE "communities"."id" = 1 SQL (0.2ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.488999' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.513981' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.514758' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:03.518517' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:03.519482' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:27:03.523693' WHERE "communities"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (209.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.786005' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.800139' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:03.803017' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:03.806398' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.807076' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:03.810217' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:03.811110' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:27:03.814361' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.815169' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:27:03.818513' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (15.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.883513' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.4ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.918811' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.923706' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.924659' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:27:03.927072' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:03.928532' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:03.930989' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:03.931887' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.978437' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.985991' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:03.989744' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:03.990572' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:03.997621' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:03.998358' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.046453' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.097447' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.104932' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.108473' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.109304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:04.113000' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:04.113870' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:04.119670' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.120416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.124164' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.127833' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:04.131034' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.131751' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.132732' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:04.133948' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:04.136448' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:04.137252' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:04.143478' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.144302' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.188524' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.195835' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.199377' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.200026' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:27:04.205097' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.225069' WHERE "users"."id" = 2 SQL (0.9ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.229207' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:04.232565' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.233537' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.234295' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:04.235342' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:27:04.240040' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:27:04.241098' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.290032' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.298395' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.299366' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.351218' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.358756' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:27:04.362165' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.2ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.411265' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (25.6ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.445501' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.449618' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:04.453172' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.454132' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.455152' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:04.456432' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.501147' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.508404' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.511938' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.512782' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:04.517604' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.519213' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:04.522193' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:27:04.523244' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.526032' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.529758' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:04.533022' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.533762' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:04.534637' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:04.535901' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:04.540201' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.541127' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:04.544026' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:27:04.544848' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.589606' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.597041' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.601243' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:27:04.604699' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.605593' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.650042' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.657039' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:04.659505' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:04.661916' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.662767' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:27:04.665814' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:04.666577' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.717540' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.724898' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:04.728474' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:27:04.731889' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.733303' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.832062' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.6ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:04.842375' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:04.843438' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:04.847394' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:04.848207' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (694.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.7ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.622017' WHERE "users"."id" = 3 SQL (0.4ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.637058' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:05.641028' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:05.644521' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:05.645255' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.646121' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:05.647364' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.695256' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.703292' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:05.706942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.707781' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:05.713068' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:05.713870' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:05.744731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:05.748567' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:05.752149' WHERE "inkwell_community_users"."id" = 5  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:05.753293' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:05.754264' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:05.755518' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:05.759337' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:05.760060' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (2.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.806415' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:05.814179' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.814959' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:05.818093' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:05.818928' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.850691' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.856552' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.862775' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.869178' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.875138' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.881249' WHERE "posts"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.887805' WHERE "posts"."id" = 7  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.893739' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.899830' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.906094' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.912098' WHERE "posts"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:05.934826' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:05.940000' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:05.941009' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.943138' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.944354' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.945601' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:05.947657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:27:05.948475' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.950138' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.951250' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:27:05.953142' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:05.957088' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:05.958401' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:05.959508' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.961405' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.962003' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.962586' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.963197' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.963661' WHERE "inkwell_timeline_items"."id" = 23  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:05.964233' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.013496' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.021289' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.066369' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.074399' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.075319' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (25.9ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:06.105377' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.106304' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:06.109450' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:06.110307' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:06.113154' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:27:06.114075' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.0ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:06.119035' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.165667' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.173908' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.174831' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:06.177788' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:06.178718' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.228189' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.236120' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.236940' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:06.242962' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:06.243857' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.297235' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.304230' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:06.306133' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:06.308783' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.309534' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:06.314565' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:27:06.315618' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.370535' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.379747' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.380838' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (1.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:06.384580' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:06.385380' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.0ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.438868' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.446283' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:06.449978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.470081' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:06.470912' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.7ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:06.475962' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:06.477019' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.477952' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.567638' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.583771' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:06.591246' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:06.595642' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:06.596575' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:06.597343' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:06.598708' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:06.602125' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:06.605366' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:06.606328' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:06.607310' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:06.609040' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:06.611428' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:06.612029' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (670.6ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.6ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.362745' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.378939' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.380252' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:07.383975' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:07.384838' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (1.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:27:07.417753' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:07.418939' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:27:07.419852' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.465700' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.474285' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.475304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:07.478353' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.479265' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:07.483143' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:07.488215' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:07.489244' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:07.491021' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:27:07.495417' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:07.496840' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.542670' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.550379' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:07.553872' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:07.557729' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.602930' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.610398' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:07.614290' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:07.617713' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.618610' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.619475' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:07.620898' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:07.624858' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:07.625586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.673979' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.681428' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.684998' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.685957' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:07.690111' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:07.690958' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:27:07.693922' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:27:07.694779' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:07.715716' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:07.720011' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:07.723037' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.723935' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:07.724770' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:07.726078' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:07.729732' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:07.730599' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:27:07.734499' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:27:07.735344' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.779873' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.787596' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.788743' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:27:07.791659' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.792571' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:07.796325' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:07.797226' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:07.801104' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:27:07.801932' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:07.808275' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:07.814166' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:27:07.815006' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:07.821000' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.894756' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.902461' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:07.906427' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:07.909538' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.952977' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.960443' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:07.963874' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:07.967225' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:07.968234' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:07.969151' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:07.970309' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:07.974467' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:07.975239' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:27:07.978633' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:27:07.979465' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.025067' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.032731' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:08.036305' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:08.039531' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.040466' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.041304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:08.042530' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:08.046432' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:08.047334' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:08.050532' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:27:08.051368' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.095702' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.103914' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.104853' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:08.108375' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:08.109209' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.158454' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.167240' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (19.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.244135' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:08.253033' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:08.253918' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.305963' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.306988' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.315610' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.317440' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.319268' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.321370' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.323425' WHERE "inkwell_timeline_items"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.325181' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:27:08.326889' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (159.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.4ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.591556' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.600834' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.601889' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:08.604609' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:08.605823' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.650054' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.658501' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.659472' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:27:08.664841' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:27:08.665724' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.717527' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.724673' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:08.727030' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:27:08.731068' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.732100' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.735516' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.786837' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.794384' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:08.798069' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.798973' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:27:08.802475' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:27:08.803313' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:27:08.809135' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:27:08.810123' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.3ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.861668' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.869531' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:08.874731' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.942258' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.949918' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:08.997568' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.005907' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:09.009963' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.061140' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:09.069949' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:09.070854' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.9ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:09.152456' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.153561' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.214219' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.221371' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:09.223589' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (5.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.272989' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.280316' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:09.285180' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.333438' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.383562' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.391429' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:09.395196' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:09.396012' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:09.397317' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:09.399817' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.400682' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:09.404363' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:09.407801' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:27:09.411022' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:09.411932' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:27:09.413041' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:09.414224' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:27:09.415537' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:27:09.418223' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:27:09.421010' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:27:09.421900' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:27:09.422922' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:27:09.424146' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:09.453264' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:09.454162' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:27:09.456476' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:27:09.457253' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.501858' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:27:09.509890' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:27:09.510956' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:27:09.515259' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Connecting to database specified by database.yml  (0.4ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (15.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_4"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_5"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", true], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:27:57.098991' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_6"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_7"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (13.5ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_8"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_9"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 13], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 14], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 8 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", true], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:27:57.133789' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 12 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", true], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:27:57.136359' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 13 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", true], ["item_id", 13], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:57.139280' WHERE "posts"."id" = 13  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 13 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["item_id", 13], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:27:57.147129' WHERE "posts"."id" = 13  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 12 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 12 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::BlogItem Exists (0.8ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 8 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 13]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 13 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 13 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 11 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 11 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 10 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 10 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 9 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 9 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 6 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 4 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 13 AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (43.4ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.4ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:57.271559' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:57.272885' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:57.286326' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:27:57.287200' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."item_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."item_id" = 2  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:57.398301' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:57.396732', "updated_at" = '2013-03-15 12:27:57.396732', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:57.419799' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:57.418630', "updated_at" = '2013-03-15 12:27:57.418630', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[4]', "updated_at" = '2013-03-15 12:27:57.424073' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 4 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["followed_id", 4], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:57.426559' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:57.427427' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:57.476228' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:57.474958', "updated_at" = '2013-03-15 12:27:57.474958', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:57.496798' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:57.495543', "updated_at" = '2013-03-15 12:27:57.495543', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.5ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:57.568202' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:57.566847', "updated_at" = '2013-03-15 12:27:57.566847', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:57.589221' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:57.587944', "updated_at" = '2013-03-15 12:27:57.587944', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:57.592818' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:57.593782' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:57.650891' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:57.649698', "updated_at" = '2013-03-15 12:27:57.649698', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:57.671104' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:57.669934', "updated_at" = '2013-03-15 12:27:57.669934', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:57.674122' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:57.675030' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (214.5ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.9ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.8ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:57.966617' WHERE "posts"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:57.963866', "updated_at" = '2013-03-15 12:27:57.963866', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.015985' WHERE "posts"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.014834', "updated_at" = '2013-03-15 12:27:58.014834', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.019910' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.020827' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:57 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'c' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.078118' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.076731', "updated_at" = '2013-03-15 12:27:58.076731', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.098956' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.097700', "updated_at" = '2013-03-15 12:27:58.097700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.101941' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.102746' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 0, "updated_at" = '2013-03-15 12:27:58.111207' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 0, "updated_at" = '2013-03-15 12:27:58.112094' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"user_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"user_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.159291' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.158167', "updated_at" = '2013-03-15 12:27:58.158167', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.179620' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.178494', "updated_at" = '2013-03-15 12:27:58.178494', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 3], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.182683' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.183571' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:58.186213' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.186973' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 3  (0.1ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.242128' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.240732', "updated_at" = '2013-03-15 12:27:58.240732', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.262309' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.260479', "updated_at" = '2013-03-15 12:27:58.260479', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 3], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.265143' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.265948' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:58.268586' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.269344' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."followed_id" WHERE "inkwell_followings"."follower_id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."followed_id" WHERE "inkwell_followings"."follower_id" = 1 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."followed_id" WHERE "inkwell_followings"."follower_id" = 1 AND "users"."id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.352777' WHERE "posts"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.351486', "updated_at" = '2013-03-15 12:27:58.351486', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.373480' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.372173', "updated_at" = '2013-03-15 12:27:58.372173', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[4]', "updated_at" = '2013-03-15 12:27:58.377622' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 4 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 4], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.380050' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.380842' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":4,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:58.385369' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.386193' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":4,"type":"reblog"},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:58.392315' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.2ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.395200' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 0, "updated_at" = '2013-03-15 12:27:58.396028' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"user_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"user_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":4,"type":"reblog"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:58.397469' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:58.400380' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.401143' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":4,"type":"reblog"},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:58.407362' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 4 LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 4  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.409314' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 0, "updated_at" = '2013-03-15 12:27:58.410099' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"user_id":4%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"user_id":4%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:27:58.411389' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.457604' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.456195', "updated_at" = '2013-03-15 12:27:58.456195', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.477446' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.476119', "updated_at" = '2013-03-15 12:27:58.476119', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[4]', "updated_at" = '2013-03-15 12:27:58.482220' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 4 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 4], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.484530' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.485321' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":4,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.533701' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.532443', "updated_at" = '2013-03-15 12:27:58.532443', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.9ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.554045' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.552731', "updated_at" = '2013-03-15 12:27:58.552731', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.556628' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.557299' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.566252' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:27:58.567034' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 AND "inkwell_followings"."follower_id" = 3  (0.1ms) SELECT COUNT(*) FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 AND "inkwell_followings"."follower_id" = 2  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.620733' WHERE "posts"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.618673', "updated_at" = '2013-03-15 12:27:58.618673', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.664945' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.639859', "updated_at" = '2013-03-15 12:27:58.639859', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.669292' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.670351' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.725120' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.723541', "updated_at" = '2013-03-15 12:27:58.723541', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:27:58.745687' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:27:58.744439', "updated_at" = '2013-03-15 12:27:58.744439', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.748629' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.750144' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.758572' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:27:58.759333' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."follower_id" WHERE "inkwell_followings"."followed_id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."follower_id" WHERE "inkwell_followings"."followed_id" = 1 AND "users"."id" = 3 LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_followings" ON "users"."id" = "inkwell_followings"."follower_id" WHERE "inkwell_followings"."followed_id" = 1 AND "users"."id" = 2 LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.815076' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.813700', "updated_at" = '2013-03-15 12:27:58.813700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:58.817758' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[]', "updated_at" = '2013-03-15 12:27:58.819432' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (NULL) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c' Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (NULL) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'c' AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.874222' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.872725', "updated_at" = '2013-03-15 12:27:58.872725', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.877153' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.877954' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:58.880978' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.935050' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.933700', "updated_at" = '2013-03-15 12:27:58.933700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:58.938075' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:58.991101' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:58.990081', "updated_at" = '2013-03-15 12:27:58.990081', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:58.994060' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:58.994929' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:58.997937' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:59.001783' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:59.002743' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":2,"type":"reblog"},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:59.004602' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.055009' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.053701', "updated_at" = '2013-03-15 12:27:59.053701', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:59.058011' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:59.058817' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.061924' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.064777' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.116090' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.114960', "updated_at" = '2013-03-15 12:27:59.114960', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.168996' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.167597', "updated_at" = '2013-03-15 12:27:59.167597', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 4 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["followed_id", 2], ["follower_id", 4], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:59.172809' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:59.173716' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.180031' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[]', "updated_at" = '2013-03-15 12:27:59.184607' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (4) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (4) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.7ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.246635' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.245502', "updated_at" = '2013-03-15 12:27:59.245502', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[4]', "updated_at" = '2013-03-15 12:27:59.251418' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 4 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["followed_id", 4], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:27:59.254058' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:59.254838' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["from_source", "[{\"user_id\":4,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 2 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["followed_id", 1], ["follower_id", 2], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:27:59.259561' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:27:59.260331' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":4,"type":"reblog"},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:59.262142' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "talisman_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["from_source", "[{\"user_id\":4,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[]', "updated_at" = '2013-03-15 12:27:59.268275' WHERE "posts"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Following Load (3.8ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (2) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (2) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 'f', "from_source" = '[{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:27:59.296448' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (223.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (312.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.903896' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.901026', "updated_at" = '2013-03-15 12:27:59.901026', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.907082' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[]', "updated_at" = '2013-03-15 12:27:59.908822' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (NULL) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (NULL) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:27:59.957532' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:27:59.956138', "updated_at" = '2013-03-15 12:27:59.956138', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.961770' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:27:59.964496' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.012137' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.010902', "updated_at" = '2013-03-15 12:28:00.010902', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.016919' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2,4]', "updated_at" = '2013-03-15 12:28:00.019614' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.073541' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.072110', "updated_at" = '2013-03-15 12:28:00.072110', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 4 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["followed_id", 2], ["follower_id", 4], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:00.078159' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:00.079054' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.082673' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[]', "updated_at" = '2013-03-15 12:28:00.087469' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (4) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c' Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" IN (4) AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 4 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.143842' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.142608', "updated_at" = '2013-03-15 12:28:00.142608', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.148937' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 4 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2,4]', "updated_at" = '2013-03-15 12:28:00.151627' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.203707' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.202391', "updated_at" = '2013-03-15 12:28:00.202391', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.206746' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'c' AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.259456' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.258284', "updated_at" = '2013-03-15 12:28:00.258284', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:00.262509' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:00.263444' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.266501' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.2ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:00.346631' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:00.345294', "updated_at" = '2013-03-15 12:28:00.345294', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:00.349764' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:00.350609' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:28:00.353369' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:00.354204' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:00.358716' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"user_id":2,"type":"reblog"}]', "updated_at" = '2013-03-15 12:28:00.360330' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (7.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.447393' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:00.466671' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.467566' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:00.470914' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.471861' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:00.491389' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (2.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:00.521610' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:00.522587' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:28:00.524565' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:28:00.529782' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:00.531081' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.604224' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.611458' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:00.615216' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.616031' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:00.623422' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:00.624325' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (7.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.707406' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.715688' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.782435' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:00.790281' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:00 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (7.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (663.2ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (175.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.706632' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:01.728552' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.731335' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:01.737471' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.784591' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.792003' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:01.795704' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:01.799707' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.844410' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:01.852424' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.853555' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:01.857892' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.906108' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.956682' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.964300' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:01.966187' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:01 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:01.969102' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:01.969954' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:28:01.972381' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.032142' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.040014' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.043629' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:02.044469' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:02.045649' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:02.048760' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.049591' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:02.053373' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:02.057275' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (4.5ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:02.088990' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.090311' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:28:02.091357' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:02.092671' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:02.094223' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:02.097061' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:02.100336' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:02.101249' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:02.102133' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:02.103288' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "spy_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 4], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 4], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 3], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:02.112863' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:02.113812' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:02.116653' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:02.117474' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.8ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.160935' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.169395' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.170410' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:02.173581' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:02.174328' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:02.180262' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.181255' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:02.184411' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:02.185353' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Korolevb"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:02.193193' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.194075' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:02.197104' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 4, "updated_at" = '2013-03-15 12:28:02.198198' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.252017' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.259229' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.263299' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.264217' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:02.268941' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:02.269772' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:28:02.273199' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:28:02.274035' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:02.276666' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:02.280949' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:02.284128' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.285082' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:02.285928' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:02.286876' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:02.290704' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:02.291533' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:28:02.294196' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:28:02.295038' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.4ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.7ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.7ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.381047' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.393275' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:02.396843' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.473898' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.482221' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.483305' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:02.489005' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:02.489871' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.3ms) DELETE FROM "inkwell_community_users";  (0.9ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.3ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.580623' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.588422' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:02 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:02.592438' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:02.595624' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:02.596543' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:02.597615' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:02.598811' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:02.602613' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:02.603601' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (26.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.4ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (182.0ms) DELETE FROM "inkwell_timeline_items";  (0.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (198.9ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.085007' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.094211' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.095212' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:03.098507' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.099337' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.102827' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:03.103801' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.106527' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:03.107423' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.153436' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.160589' WHERE "users"."id" = 2 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.164924' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:03.165775' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 Community Exists (0.1ms) SELECT 1 AS one FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND "communities"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."community_id" WHERE "inkwell_community_users"."user_id" = 3 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.213171' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.220851' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.224359' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:03.227558' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.228504' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:03.229623' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.230718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.233865' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:03.237073' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:03.237808' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.238752' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.239883' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:03.242820' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:03.243516' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.289700' WHERE "users"."id" = 3 SQL (1.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.298009' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:03.299967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.302332' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:03.305555' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:03.306520' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.307250' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.308323' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.354422' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.361700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.365889' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.371505' WHERE "communities"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.417610' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.424813' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.428777' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.429620' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:03.433821' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:03.434742' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.455377' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:28:03.456253' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:03.459921' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.464044' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:03.466940' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.467903' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:03.468985' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.470450' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:03.473998' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:03.474833' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.478743' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:28:03.479423' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (4.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.555157' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.562708' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.567312' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.568304' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'w' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.615123' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.623274' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.624291' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:03.627305' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.628209' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.631447' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:03.632336' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:03.635321' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:03.636149' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:03.640956' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.690515' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.697910' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.701976' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:03.705206' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.706109' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.706954' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.708184' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.752975' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.760658' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.764186' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:03.767887' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.768860' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.769747' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:03.770952' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.818984' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.826331' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:03.830119' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.873071' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:03.881231' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.882100' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:03.885010' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.886008' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:03.889429' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:03.890377' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:03.897319' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:03.898471' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.945590' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:03.969599' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:03 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.3ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.021632' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.029468' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:04.033223' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.034152' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:04.039698' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:04.040891' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:04.044908' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (28.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:04.077475' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:04.081381' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:04.082417' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:04.083374' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:04.084831' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:04.089208' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:04.090226' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.144231' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.151956' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:04.153875' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:04.156414' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.157291' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:04.160573' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:04.161282' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:28:04.164083' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.165032' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.239824' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:04.250863' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.251664' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:04.254352' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:04.255195' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.344536' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:04 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:04.355237' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:04.356498' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:04.360612' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:04.361576' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (476.5ms) DELETE FROM "inkwell_community_users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (238.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.147771' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.158921' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:05.164340' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't') Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:05.168683' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.169698' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.170615' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:05.171850' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."asked_invitation" = 't')  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.216936' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.223993' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:05.227738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.230342' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:05.231770' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:05.236869' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:05.237806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.238709' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.284153' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.338747' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.364867' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.365811' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:05.370741' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:05.371722' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.418609' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.426528' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:05.431382' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:05.434592' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.481615' WHERE "users"."id" = 3 SQL (29.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_2"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:05.519787' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.572402' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.580068' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:05.582156' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.632330' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.640034' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:05.641664' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:05.644327' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.645157' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "updated_at" = '2013-03-15 12:28:05.648832' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:05.649862' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.698708' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.706431' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:05.711413' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.761500' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.769417' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.770316' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:05.773460' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.774265' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:05.777512' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:05.778385' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:05.782462' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:05.783281' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:05.788976' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:05.794557' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:05.795439' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:05.800630' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (2.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.846081' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.855097' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.856076' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.906554' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.914388' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:05.918209' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:05.938619' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:05.940416' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.941335' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:05.942554' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:05.946891' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:05.947789' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:05.950850' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:28:05.951730' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:05.994582' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:05 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.002805' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:06.006675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.009368' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:06.010350' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 4 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (3.5ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.083136' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.095011' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.098997' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.099846' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:06.104368' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:06.108017' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:06.111328' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.112296' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:06.113352' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:06.114561' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (231.6ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.4ms) DELETE FROM "inkwell_blog_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.424003' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.448022' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.450522' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:06.457705' WHERE "users"."id" = 3 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:06.461218' WHERE "users"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%') SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.2ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.3ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.5ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.549240' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.609410' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.616660' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.620937' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.621818' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:06.625248' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:06.626086' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.675814' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.683110' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:06.685768' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:06.688301' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.689151' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.737932' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.745367' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:06.749174' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.750015' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:06.752991' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:06.754094' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:28:06.763242' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:06.764100' WHERE "users"."id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.2ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.820077' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.845640' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:06.849823' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:28:06.853534' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:06.854395' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.903806' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.911121' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:06.913214' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:06.915840' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.916836' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "user_access" = 'w', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:06.921997' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "admin_count" = 2, "updated_at" = '2013-03-15 12:28:06.923487' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:06.971586' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:06 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (2.6ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:07.004270' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.008906' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.056695' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:07.065186' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.066112' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:07.069274' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:07.070225' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.1ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "admin_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:28:07.074461' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.143968' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.153105' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:07.157339' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:07.161218' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:07.162936' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:07.163835' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:07.165060' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:07.167738' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:07.171384' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:07.172393' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.173305' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:07.174529' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:07.176763' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:07.177581' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.258138' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.265432' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:07.269263' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:07.273061' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (7.8ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.372112' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:07.383705' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.384866' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:07.389349' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:07.390516' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't')  (0.2ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.461424' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.469013' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:07.470643' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:07.473356' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.474140' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:07.477125' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:07.478149' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:28:07.481049' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.481943' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:28:07.485041' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (6.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.583238' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:07.614593' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:07.618686' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:07 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 2, "updated_at" = '2013-03-15 12:28:07.621450' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."asked_invitation" = 't'  (0.1ms) rollback transaction  (341.4ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.9ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.4ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.036600' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:08.049419' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:08.050431' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.3ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (27.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:08.134025' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.135049' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.143037' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.144802' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.146373' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.148001' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.150039' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.151771' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:08.153737' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (5.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (7.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.227601' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:08.235499' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.236406' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:08.239426' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.240107' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:08.244357' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:08.249365' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:08.250418' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:28:08.252383' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:28:08.258895' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:08.260263' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (6.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.332648' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:08.340548' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.341396' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:08.344263' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.345213' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:08.348424' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:08.349450' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:08.352858' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:08.353903' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (7.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.7ms) DELETE FROM "inkwell_favorite_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.9ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.3ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.7ms) DELETE FROM "users";  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.455539' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.2ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:08.468279' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.469689' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:08.476633' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:08.477679' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (8.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (9.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (9.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.0ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.7ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.578429' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.618314' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (-1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.698837' WHERE "users"."id" = 3 SQL (0.5ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.708347' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (7.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.785413' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:08.794130' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:08.795101' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (4.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:08.881927' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:08.883015' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (6.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.0ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.8ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (8.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (254.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.231059' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.3ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.312551' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.313556' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.377992' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.385690' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:09.387451' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:09.391243' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.392287' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.2ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."user_access" = 'r' LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.439479' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.448017' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.451820' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.452738' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "user_count" = 1, "updated_at" = '2013-03-15 12:28:09.478912' WHERE "communities"."id" = 2 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.525333' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.533324' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.537347' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:09.538242' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:09.541423' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.542307' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:09.553889' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:09.554829' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:09.560923' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:09.561673' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:09.569632' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:09.570578' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (2.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.652225' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.660660' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.661671' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:09.666201' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:09.667049' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.713701' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.723323' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.728378' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.729323' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.778515' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.786484' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.790379' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:09.791237' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:09.794386' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.795291' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:09.798221' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.799072' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 2 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.9ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 3 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 1 AND ("inkwell_community_users"."active" = 't') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND "users"."id" = 4 AND ("inkwell_community_users"."active" = 't') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.847897' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.855284' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.858769' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.859844' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:09.863158' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:09.864135' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:09.867018' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.867719' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.871301' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.919824' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.927813' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:09 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:09.931651' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:09.932574' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:09.936818' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:09.937701' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (19.4ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:28:09.966058' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:09.967074' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.014430' WHERE "users"."id" = 3 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.022021' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:10.023803' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:10.026551' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.027458' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:10.030917' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:10.031767' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "r"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "updated_at" = '2013-03-15 12:28:10.034911' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.035835' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 3, "updated_at" = '2013-03-15 12:28:10.039369' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.087601' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.095991' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.097069' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:10.099627' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:10.100498' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "muted_count" = 0, "user_count" = 1, "updated_at" = '2013-03-15 12:28:10.105570' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (32.7ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.193903' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.201920' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.208210' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:10.209183' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:10.212400' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.213261' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:10.221899' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:10.222995' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.3ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:10.228403' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:10.229266' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:10.233820' WHERE "inkwell_community_users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:10.234604' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.281890' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.289831' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.293565' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.294384' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:10.299261' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:10.300201' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.8ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:10.303386' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:28:10.304978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:10.307868' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:10.311590' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:10.314808' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.315724' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:10.316633' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:10.317777' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:10.321830' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:10.322672' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:10.326484' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:28:10.327316' WHERE "communities"."id" = 3  (0.2ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.373048' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", -1], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", -1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.428639' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.442886' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.443952' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:10.448086' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (21.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.519755' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.527721' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:10.532021' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.532868' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:28:10.535546' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:10.581949' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:10 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (266.8ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.3ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (335.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.2ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.7ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.264067' WHERE "users"."id" = 3 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.277701' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.281714' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.282577' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:11.285800' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:11.286607' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (4.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:11.325637' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:11.326584' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:11.330861' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:11.334945' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:11.338413' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.339351' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:11.340416' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:11.341811' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:11.344569' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:11.345374' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:11.350928' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:11.352437' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.398682' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.451996' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.461339' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.462393' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:11.466211' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:11.467212' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.3ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.516605' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.525998' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.526953' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:11.531101' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:11.531884' WHERE "communities"."id" = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 1 AND ("inkwell_community_users"."banned" = 't')  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.583128' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.591379' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.595675' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.596650' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:11.600504' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:11.601579' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.650341' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.658681' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:11.662512' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:11.665975' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.666890' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.688994' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:11.690472' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:11.694758' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:11.695483' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:28:11.699254' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:28:11.700096' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.744566' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.752446' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.756151' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.757220' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:11.762638' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:11.763492' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:11.769038' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:11.773201' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:11.776606' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.777845' WHERE "communities"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:11.778749' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:11.779985' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:11.783914' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:11.784847' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.837455' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:11 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:11.847629' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:11.848556' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (33.4ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (216.6ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (8.7ms) DELETE FROM "inkwell_comments";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (9.6ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.9ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (9.1ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (8.6ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (9.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.4ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:12.197586' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:12.208695' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:12 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:12.210244' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (825.1ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.2ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (5.3ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.4ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.117306' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:13.135957' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.137409' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:13.141882' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.143117' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.181138' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.187794' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.194049' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.200156' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.206375' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.212517' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.218732' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.224575' WHERE "posts"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.230799' WHERE "posts"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.237173' WHERE "posts"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.264482' WHERE "posts"."id" = 11  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:13.271940' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:13.277361' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:13.278396' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.280358' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.281592' WHERE "inkwell_timeline_items"."id" = 21  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.282654' WHERE "inkwell_timeline_items"."id" = 19  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 1 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["followed_id", 2], ["follower_id", 1], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:13.285139' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 2, "updated_at" = '2013-03-15 12:28:13.285977' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.287674' WHERE "inkwell_timeline_items"."id" = 24  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.289065' WHERE "inkwell_timeline_items"."id" = 22  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:13.290401' WHERE "inkwell_timeline_items"."id" = 20  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"   (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:13.294769' WHERE "users"."id" = 3 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:13.296482' WHERE "users"."id" = 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:13.297533' WHERE "users"."id" = 2 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE (from_source like '%{"community_id":1%')  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.299365' WHERE "inkwell_timeline_items"."id" = 19  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.299998' WHERE "inkwell_timeline_items"."id" = 20  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.300460' WHERE "inkwell_timeline_items"."id" = 21  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.301190' WHERE "inkwell_timeline_items"."id" = 22  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.301560' WHERE "inkwell_timeline_items"."id" = 23  (0.0ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":2,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:13.302028' WHERE "inkwell_timeline_items"."id" = 24 SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' SQL (0.0ms) DELETE FROM "communities" WHERE "communities"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2  (0.2ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.353437' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (1.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.361246' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:13.366098' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.367087' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.5ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:13.371871' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:13.376416' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (3.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:13.414276' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:13.415425' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:13.416434' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:13.418338' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.466783' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.474601' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:13.479038' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "asked_invitation" = 'f', "updated_at" = '2013-03-15 12:28:13.482930' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:13.483547' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.533043' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (1.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.2ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (201.5ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.803800' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:13.823140' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.824309' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (32.7ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.901989' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.910464' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", false], ["banned", true], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:13.915718' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:13.962109' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 5 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["followed_id", 1], ["follower_id", 5], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:13.970683' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:13.971431' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.2ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 SQL (0.2ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", nil], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.045562' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.046603' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 5], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.055248' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.057083' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.058882' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.060659' WHERE "inkwell_timeline_items"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.062490' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.064306' WHERE "inkwell_timeline_items"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 3 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"following"},{"community_id":1}]', "updated_at" = '2013-03-15 12:28:14.066102' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 5 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:14.071298' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:14.072393' WHERE "users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.074654' WHERE "inkwell_timeline_items"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.075494' WHERE "inkwell_timeline_items"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.076364' WHERE "inkwell_timeline_items"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.077161' WHERE "inkwell_timeline_items"."id" = 6  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.078479' WHERE "inkwell_timeline_items"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.079372' WHERE "inkwell_timeline_items"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:14.080070' WHERE "inkwell_timeline_items"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 5 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.129649' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.137700' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:14.141877' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:14.145659' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.146628' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.147464' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:14.148841' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "updated_at" = '2013-03-15 12:28:14.153195' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:14.154200' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 3]]  (1.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":2%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":2%') User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.242332' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.250003' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.254048' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.255092' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 1, "updated_at" = '2013-03-15 12:28:14.257630' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:14.258967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:14.262003' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:14.262803' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.307800' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.315275' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.319617' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.320464' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:14.323444' WHERE "inkwell_community_users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:14.324806' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:14.331404' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:14.332305' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.2ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.382435' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.389986' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:14.392021' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:14.394748' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.395567' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:14.401323' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:14.403890' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:14.406347' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:14.409866' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:14.410808' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:14.411671' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:14.412958' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.459403' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.466656' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.538718' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.546457' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:14.551434' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (NULL) AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.598245' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.606142' WHERE "users"."id" = 2 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.610648' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.611539' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:14.616280' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:14.617240' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.661722' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 3  (0.1ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 3  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.714331' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:14 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:14.723294' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:14.724267' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:14.727224' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:14.728179' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "muted_count" = 0, "updated_at" = '2013-03-15 12:28:14.732189' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:14.733238' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "active" = 'f', "updated_at" = '2013-03-15 12:28:14.734108' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (289.7ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (263.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.7ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.3ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.4ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.8ms) DELETE FROM "users";  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (2.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.385089' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.396282' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:15.399975' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 'f' AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.447568' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.455683' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:15.457761' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'w', "updated_at" = '2013-03-15 12:28:15.458948' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.504181' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.512036' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:15.515630' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:15.519575' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.520490' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.521424' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:15.522771' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.7ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.571309' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.579036' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.582879' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.583705' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2]', "updated_at" = '2013-03-15 12:28:15.588421' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.9ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["from_source", "[{\"community_id\":2}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:15.593470' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:15.597337' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:15.600569' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.601317' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:15.602244' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:15.603415' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[2,3]', "updated_at" = '2013-03-15 12:28:15.608313' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":2},{"community_id":3}]', "updated_at" = '2013-03-15 12:28:15.610100' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.654288' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.663245' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.664239' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:15.693302' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:15.700617' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.701435' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:15.708976' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:15.709811' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "inkwell_community_users" SET "admin_level" = 2, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:15.712473' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:15.714090' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (2.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.765964' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.773657' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (1.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.777793' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:15.778674' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:15.781825' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.782699' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:15.786284' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.787222' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.835228' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:15.843602' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.844657' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:15.848636' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:15.849373' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "communities" WHERE "communities"."owner_id" = 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (1.8ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:28:15.882858' WHERE "communities"."id" = 1 SQL (0.1ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.934173' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.942069' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:15.947200' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."asked_invitation" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:15.996317' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:15 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.005995' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.006989' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.059763' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.067864' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.068839' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:16.071793' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.072598' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.9ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "c"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[1]', "updated_at" = '2013-03-15 12:28:16.077138' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["from_source", "[{\"community_id\":1}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:16.082367' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:16.083222' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"community_id":1},{"user_id":1,"type":"following"}]', "updated_at" = '2013-03-15 12:28:16.085050' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "communities_ids" = '[]', "updated_at" = '2013-03-15 12:28:16.089524' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' AND "inkwell_timeline_items"."has_many_sources" = 't' AND (from_source like '%{"community_id":1%')  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "from_source" = '[{"user_id":1,"type":"following"}]', "has_many_sources" = 'f', "updated_at" = '2013-03-15 12:28:16.090959' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 2 AND "inkwell_timeline_items"."owner_type" = 'u'  (0.0ms) SELECT COUNT(*) FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' AND "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.137477' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (5.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.193701' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.202218' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.203126' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.9ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:16.205619' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:16.207091' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:16.234894' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "admin_count" = 2, "updated_at" = '2013-03-15 12:28:16.235915' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.285176' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.294017' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.298078' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.299059' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:16.303661' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:16.304631' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:16.307823' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:16.311972' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:16.315837' WHERE "inkwell_community_users"."id" = 5  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.316979' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:16.318055' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:16.319333' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:16.322828' WHERE "inkwell_community_users"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:16.323695' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."muted" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.4ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.9ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.373309' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.381612' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.385896' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:16.386830' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:16.390233' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.391116' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:16.394619' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.395516' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:16.400833' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:16.401899' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:16.404833' WHERE "inkwell_community_users"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 3, "updated_at" = '2013-03-15 12:28:16.405826' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't'  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.4ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.452153' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (1.6ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.537073' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:16.544935' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.545987' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:16.550279' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:16.550945' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (188.4ms) DELETE FROM "users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.795818' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.805701' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.8ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.1ms) rollback transaction  (98.9ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.0ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.9ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:16.983508' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:16 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (5.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.046188' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (2.9ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.100761' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.108892' WHERE "users"."id" = 2 SQL (0.8ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:17.111658' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (5.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.2ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (6.3ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.185086' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.193498' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:17.197886' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (8.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (7.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (7.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.277440' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.309537' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:17.313978' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.314820' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:17.319188' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:17.320236' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:17.322849' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:17.325581' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:17.326324' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:17.330240' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:17.332989' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:17.335698' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:17.338869' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:17.339859' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:17.340955' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:17.342591' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:17.345828' WHERE "inkwell_community_users"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:17.346730' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "r"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:17.351483' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Exists (0.8ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 3 AND "inkwell_community_users"."user_id" = 3 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:17.355404' WHERE "inkwell_community_users"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "updated_at" = '2013-03-15 12:28:17.356268' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:28:17.357178' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 3 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:17.358448' WHERE "communities"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 3 LIMIT 1  (0.1ms) rollback transaction  (267.2ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (8.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (9.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (8.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (8.2ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (8.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (7.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.3ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (8.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.717310' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.728065' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:17.732250' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.733168' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:17.736396' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:17.737329' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:17.741116' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.742058' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2  (0.0ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (2, 1, 3, 4) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w'  (0.1ms) rollback transaction  (6.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.7ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.7ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (7.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (7.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.823398' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Private Community"], ["owner_id", 2], ["public", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.836343' WHERE "users"."id" = 2 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", false], ["admin_level", nil], ["asked_invitation", true], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:17 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 1, "updated_at" = '2013-03-15 12:28:17.843196' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "asked_invitation" = 'f', "user_access" = 'w', "active" = 't', "updated_at" = '2013-03-15 12:28:17.846493' WHERE "inkwell_community_users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:17.847641' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:17.848878' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "invitation_count" = 0, "updated_at" = '2013-03-15 12:28:17.850326' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Load (1.3ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1  (0.1ms) rollback transaction  (6.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (552.4ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.7ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.2ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.7ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.6ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.516083' WHERE "users"."id" = 3 SQL (0.3ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.9ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.1ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.535148' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.536137' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:18.539746' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:18.540638' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 'f', "admin_level" = NULL WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 1, "updated_at" = '2013-03-15 12:28:18.545431' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.594789' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.603265' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.604205' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 't', "active" = 'f', "updated_at" = '2013-03-15 12:28:18.607434' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "banned_count" = 1, "updated_at" = '2013-03-15 12:28:18.608473' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "banned" = 'f', "active" = 't', "updated_at" = '2013-03-15 12:28:18.612206' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "banned_count" = 0, "updated_at" = '2013-03-15 12:28:18.613218' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."banned" = 't' LIMIT 1  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (5.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.661414' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.669821' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.670756' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:18.673838' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:18.674642' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.0ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 1, "writer_count" = 1, "admin_count" = 1, "updated_at" = '2013-03-15 12:28:18.680095' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 0, "updated_at" = '2013-03-15 12:28:18.681171' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_community_users" WHERE "inkwell_community_users"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."has_many_sources" = 'f' AND (from_source like '%{"community_id":1%') Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 1 AND "inkwell_timeline_items"."owner_type" = 'u' AND (from_source like '%{"community_id":1%') Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.726537' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.734061' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "default_user_access" = 'r', "updated_at" = '2013-03-15 12:28:18.735935' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't') Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "r"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "updated_at" = '2013-03-15 12:28:18.740095' WHERE "communities"."id" = 2  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.741222' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.744547' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" IN (1) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'r' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "inkwell_community_users" ON "users"."id" = "inkwell_community_users"."user_id" WHERE "inkwell_community_users"."community_id" = 2 AND ("inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't')  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.2ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.819315' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.827042' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::CommunityUser Load (0.0ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.831024' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.831875' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 3, "updated_at" = '2013-03-15 12:28:18.834967' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:18.835814' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 4, "writer_count" = 4, "updated_at" = '2013-03-15 12:28:18.838942' WHERE "communities"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.839915' WHERE "users"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.1ms) SELECT COUNT(*) FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f'  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.843422' WHERE "communities"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'r' WHERE "inkwell_community_users"."user_id" IN (1, 3) AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."is_admin" = 'f' Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 4 AND "inkwell_community_users"."community_id" = 2 AND "inkwell_community_users"."user_access" = 'w' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.892585' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:18.900795' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.901830' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't', "updated_at" = '2013-03-15 12:28:18.904915' WHERE "inkwell_community_users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 1, "updated_at" = '2013-03-15 12:28:18.905658' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_community_users" SET "muted" = 'f', "updated_at" = '2013-03-15 12:28:18.909106' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "muted_count" = 0, "updated_at" = '2013-03-15 12:28:18.909988' WHERE "communities"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.8ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.954540' WHERE "users"."id" = 3 SQL (1.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "community"], ["owner_id", 2], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:18.962317' WHERE "users"."id" = 2 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:18 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:19.011921' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", nil], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_access", "w"], ["user_id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "user_count" = 2, "writer_count" = 2, "updated_at" = '2013-03-15 12:28:19.020840' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:19.021869' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'c' ORDER BY created_at DESC LIMIT 10 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1 Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.2ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_community_users" SET "admin_level" = 1, "is_admin" = 't', "updated_at" = '2013-03-15 12:28:19.025177' WHERE "inkwell_community_users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "communities" SET "admin_count" = 2, "updated_at" = '2013-03-15 12:28:19.026091' WHERE "communities"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Inkwell::CommunityUser Exists (0.1ms) SELECT 1 AS one FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 AND "inkwell_community_users"."is_admin" = 't' AND "inkwell_community_users"."active" = 't' LIMIT 1 Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Spy"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-03-15 12:28:19.092952' WHERE "users"."id" = 3 SQL (0.2ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 1], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Community Load (0.0ms) SELECT "communities".* FROM "communities" WHERE "communities"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 2, "updated_at" = '2013-03-15 12:28:19.101501' WHERE "users"."id" = 3 SQL (29.0ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 2], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "communities" ("admin_count", "banned_count", "created_at", "default_user_access", "invitation_count", "muted_count", "name", "owner_id", "public", "updated_at", "user_count", "writer_count") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["admin_count", 1], ["banned_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["default_user_access", "w"], ["invitation_count", 0], ["muted_count", 0], ["name", "Community_1"], ["owner_id", 3], ["public", true], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_count", 1], ["writer_count", 1]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "users" SET "community_count" = 3, "updated_at" = '2013-03-15 12:28:19.134723' WHERE "users"."id" = 3 SQL (0.1ms) INSERT INTO "inkwell_community_users" ("active", "admin_level", "asked_invitation", "banned", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["admin_level", 0], ["asked_invitation", false], ["banned", false], ["community_id", 3], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_admin", true], ["muted", false], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_access", "w"], ["user_id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::CommunityUser Load (0.1ms) SELECT "inkwell_community_users".* FROM "inkwell_community_users" WHERE "inkwell_community_users"."user_id" = 3  (0.2ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (2.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:19.181830' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.180599', "updated_at" = '2013-03-15 12:28:19.180599', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:19.185100' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.183808', "updated_at" = '2013-03-15 12:28:19.183808', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"   (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.0ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."item_type" = 'c' SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 2 AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 2 AND "inkwell_blog_items"."item_type" = 'c' SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = 2 SQL (0.0ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"   (0.1ms) rollback transaction  (4.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (65.3ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (5.6ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (6.5ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.4ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (5.9ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:19.329704' WHERE "posts"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.326595', "updated_at" = '2013-03-15 12:28:19.326595', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:19.338866' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:19.342690' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.335565', "updated_at" = '2013-03-15 12:28:19.335565', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:19.347060' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:19.348743' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.345462', "updated_at" = '2013-03-15 12:28:19.345462', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:19.352298' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:19.354069' WHERE "inkwell_comments"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.350682', "updated_at" = '2013-03-15 12:28:19.350682', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:19.358842' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:19.360815' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.357129', "updated_at" = '2013-03-15 12:28:19.357129', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:19.364167' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:19.366103' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.362729', "updated_at" = '2013-03-15 12:28:19.362729', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.370660' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.372577' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.369058', "updated_at" = '2013-03-15 12:28:19.369058', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:19.375807' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:19.377224' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.374451', "updated_at" = '2013-03-15 12:28:19.374451', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:19.380356' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:19.381994' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.379006', "updated_at" = '2013-03-15 12:28:19.379006', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:19.385040' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:19.386627' WHERE "inkwell_comments"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.383651', "updated_at" = '2013-03-15 12:28:19.383651', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.390336' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.391924' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.388224', "updated_at" = '2013-03-15 12:28:19.388224', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:19.394957' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:19.396455' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.393664', "updated_at" = '2013-03-15 12:28:19.393664', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 9]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 10]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 12]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' AND (created_at < '2013-03-15 12:28:19.388224') ORDER BY created_at DESC LIMIT 10  (0.1ms) rollback transaction  (3.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.8ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_comments" WHERE "inkwell_comments"."user_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:19.514351' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.490043', "updated_at" = '2013-03-15 12:28:19.490043', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.3ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (145.3ms) DELETE FROM "inkwell_comments";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (132.9ms) DELETE FROM "inkwell_community_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.3ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.6ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.0ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.5ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:19.867963' WHERE "posts"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.865702', "updated_at" = '2013-03-15 12:28:19.865702', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:19.873583' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:19.875895' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.871455', "updated_at" = '2013-03-15 12:28:19.871455', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:19.880682' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:19.883123' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.878736', "updated_at" = '2013-03-15 12:28:19.878736', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 2], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:19.886383' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:19.887752' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:19.888893' WHERE "inkwell_comments"."id" = 2  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 2, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.885064', "updated_at" = '2013-03-15 12:28:19.885064', "upper_comments_tree" = '[1,2]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 3], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:19.892095' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:19.893610' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:19.894649' WHERE "inkwell_comments"."id" = 3  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 3, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.890726', "updated_at" = '2013-03-15 12:28:19.890726', "upper_comments_tree" = '[1,3]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:19.897701' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:19.899781' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.896399', "updated_at" = '2013-03-15 12:28:19.896399', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 4], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.902908' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.904633' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":4},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.905602' WHERE "inkwell_comments"."id" = 2 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:19.906677' WHERE "inkwell_comments"."id" = 4  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 4, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.901695', "updated_at" = '2013-03-15 12:28:19.901695', "upper_comments_tree" = '[1,2,4]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 3], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:19.909861' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:19.911478' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:19.912574' WHERE "inkwell_comments"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 3, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.908500', "updated_at" = '2013-03-15 12:28:19.908500', "upper_comments_tree" = '[1,3]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:19.916139' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:19.917701' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.914776', "updated_at" = '2013-03-15 12:28:19.914776', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 6], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:19.921615' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:19.923220' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:19.924342' WHERE "inkwell_comments"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 6, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.919682', "updated_at" = '2013-03-15 12:28:19.919682', "upper_comments_tree" = '[1,6]' WHERE "inkwell_comments"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 5], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.959625' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.963021' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.963998' WHERE "inkwell_comments"."id" = 3 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:19.964978' WHERE "inkwell_comments"."id" = 5  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 5, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:19.926055', "updated_at" = '2013-03-15 12:28:19.926055', "upper_comments_tree" = '[1,3,5]' WHERE "inkwell_comments"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:19 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:19.968902' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:19.970486' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:19.967041', "updated_at" = '2013-03-15 12:28:19.967041', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 9]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 10]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 12]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 9]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 10]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.024981' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.023472', "updated_at" = '2013-03-15 12:28:20.023472', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.027985' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.026796', "updated_at" = '2013-03-15 12:28:20.026796', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.030966' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.029701', "updated_at" = '2013-03-15 12:28:20.029701', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.034285' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.032731', "updated_at" = '2013-03-15 12:28:20.032731', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:20.037234' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.036032', "updated_at" = '2013-03-15 12:28:20.036032', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:20.040061' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.038821', "updated_at" = '2013-03-15 12:28:20.038821', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:20.043466' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.042365', "updated_at" = '2013-03-15 12:28:20.042365', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:20.046657' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.045092', "updated_at" = '2013-03-15 12:28:20.045092', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:20.049442' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.048476', "updated_at" = '2013-03-15 12:28:20.048476', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:20.053372' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.051910', "updated_at" = '2013-03-15 12:28:20.051910', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:20.056072' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.054971', "updated_at" = '2013-03-15 12:28:20.054971', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:20.059363' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.058006', "updated_at" = '2013-03-15 12:28:20.058006', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' ORDER BY created_at DESC LIMIT 10 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' AND (created_at < '2013-03-15 12:28:20.054971') ORDER BY created_at DESC LIMIT 10  (0.2ms) rollback transaction  (3.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.107909' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.106582', "updated_at" = '2013-03-15 12:28:20.106582', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.111267' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.112947' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.110021', "updated_at" = '2013-03-15 12:28:20.110021', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" IN (NULL) SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" IN (2) AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" IN (2) AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" IN (2) AND "inkwell_blog_items"."item_type" = 'c' Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[]', "updated_at" = '2013-03-15 12:28:20.124969' WHERE "inkwell_comments"."id" = 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.126289' WHERE "posts"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (100.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.5ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.8ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.5ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.294809' WHERE "posts"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.291937', "updated_at" = '2013-03-15 12:28:20.291937', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.326390' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.324807', "updated_at" = '2013-03-15 12:28:20.324807', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.329701' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.328404', "updated_at" = '2013-03-15 12:28:20.328404', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 2], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.333295' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.334797' WHERE "inkwell_comments"."id" = 2  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 2, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.331548', "updated_at" = '2013-03-15 12:28:20.331548', "upper_comments_tree" = '[2]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:20.337914' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.336653', "updated_at" = '2013-03-15 12:28:20.336653', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:20.341135' WHERE "posts"."id" = 1  (1.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.339752', "updated_at" = '2013-03-15 12:28:20.339752', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:20.344731' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.343476', "updated_at" = '2013-03-15 12:28:20.343476', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:20.347721' WHERE "posts"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.346390', "updated_at" = '2013-03-15 12:28:20.346390', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:20.351332' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.349366', "updated_at" = '2013-03-15 12:28:20.349366', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:20.354511' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.353169', "updated_at" = '2013-03-15 12:28:20.353169', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:20.357701' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.356298', "updated_at" = '2013-03-15 12:28:20.356298', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:20.360835' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.359653', "updated_at" = '2013-03-15 12:28:20.359653', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' ORDER BY created_at DESC LIMIT 5 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' AND (created_at < '2013-03-15 12:28:20.356298') ORDER BY created_at DESC LIMIT 5 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.2ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' AND (created_at < '2013-03-15 12:28:20.339752') ORDER BY created_at DESC LIMIT 7  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.411258' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.409968', "updated_at" = '2013-03-15 12:28:20.409968', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" IN (NULL) SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" IN (1) AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" IN (1) AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" IN (1) AND "inkwell_blog_items"."item_type" = 'c' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[]', "updated_at" = '2013-03-15 12:28:20.419841' WHERE "posts"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? [["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.473029' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.471926', "updated_at" = '2013-03-15 12:28:20.471926', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.477373' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.478963' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.475779', "updated_at" = '2013-03-15 12:28:20.475779', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.482655' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.484522' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.481204', "updated_at" = '2013-03-15 12:28:20.481204', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.3ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.1ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.5ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.531030' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.529700', "updated_at" = '2013-03-15 12:28:20.529700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.534452' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.535838' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.533199', "updated_at" = '2013-03-15 12:28:20.533199', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 2], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items"  Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" IN (2) SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" IN (2, 1) AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" IN (2, 1) AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" IN (2, 1) AND "inkwell_blog_items"."item_type" = 'c' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[]', "updated_at" = '2013-03-15 12:28:20.572359' WHERE "posts"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.2ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.624731' WHERE "posts"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.623548', "updated_at" = '2013-03-15 12:28:20.623548', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.628010' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.629384' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.626775', "updated_at" = '2013-03-15 12:28:20.626775', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 2], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.632553' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.634111' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.635157' WHERE "inkwell_comments"."id" = 2  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 2, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.631212', "updated_at" = '2013-03-15 12:28:20.631212', "upper_comments_tree" = '[1,2]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.638218' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.639446' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.637058', "updated_at" = '2013-03-15 12:28:20.637058', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 3], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["from_source", "[]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 3], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", nil], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items"  Inkwell::BlogItem Load (1.8ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" IN (2, 3, 4) SQL (0.1ms) DELETE FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" IN (2, 3, 4, 1) AND "inkwell_timeline_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" IN (2, 3, 4, 1) AND "inkwell_favorite_items"."item_type" = 'c' SQL (0.1ms) DELETE FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" IN (2, 3, 4, 1) AND "inkwell_blog_items"."item_type" = 'c' Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[]', "updated_at" = '2013-03-15 12:28:20.683842' WHERE "posts"."id" = 1 SQL (0.0ms) DELETE FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items"  Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments"  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.731689' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.730434', "updated_at" = '2013-03-15 12:28:20.730434', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.734576' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.735934' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.733406', "updated_at" = '2013-03-15 12:28:20.733406', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.6ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.1ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:20.786070' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.784726', "updated_at" = '2013-03-15 12:28:20.784726', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.789082' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:20.790478' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.787902', "updated_at" = '2013-03-15 12:28:20.787902', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:20.793589' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.792180', "updated_at" = '2013-03-15 12:28:20.792180', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.796590' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.9ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:20.798074' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.795426', "updated_at" = '2013-03-15 12:28:20.795426', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:20.801694' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.800429', "updated_at" = '2013-03-15 12:28:20.800429', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:20.804550' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":2,"comment_id":4},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:20.806034' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:20.803322', "updated_at" = '2013-03-15 12:28:20.803322', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:20 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":1,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:20.809112' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:20.807872', "updated_at" = '2013-03-15 12:28:20.807872', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) rollback transaction  (237.7ms) DELETE FROM "communities";  (0.4ms) DELETE FROM sqlite_sequence where name = 'communities';  (6.0ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (5.7ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.0ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (6.0ms) DELETE FROM "inkwell_favorite_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (5.9ms) DELETE FROM "inkwell_followings";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (5.3ms) DELETE FROM "inkwell_timeline_items";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (5.6ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.1ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.122258' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.119791', "updated_at" = '2013-03-15 12:28:21.119791', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.126630' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.128967' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.124979', "updated_at" = '2013-03-15 12:28:21.124979', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.132774' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.134704' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.131420', "updated_at" = '2013-03-15 12:28:21.131420', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.2ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.138843' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:21.142057' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 3 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 2 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 3 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 2 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.8ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.218879' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.193701', "updated_at" = '2013-03-15 12:28:21.193701', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.222377' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.223720' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.221112', "updated_at" = '2013-03-15 12:28:21.221112', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.227010' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.228642' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.225545', "updated_at" = '2013-03-15 12:28:21.225545', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.231835' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:21.234126' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 2 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 3 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 2 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 3 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.8ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.286179' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.284732', "updated_at" = '2013-03-15 12:28:21.284732', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.289511' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.290880' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.288132', "updated_at" = '2013-03-15 12:28:21.288132', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.293983' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.295781' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.292640', "updated_at" = '2013-03-15 12:28:21.292640', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SELECT COUNT(*) FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p'  (0.1ms) rollback transaction  (4.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.348864' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.347339', "updated_at" = '2013-03-15 12:28:21.347339', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.352583' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.354199' WHERE "inkwell_comments"."id" = 1  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.351173', "updated_at" = '2013-03-15 12:28:21.351173', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.357336' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.358704' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.355979', "updated_at" = '2013-03-15 12:28:21.355979', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 2], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:21.361588' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:21.362967' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:21.363940' WHERE "inkwell_comments"."id" = 2  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 2, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.360270', "updated_at" = '2013-03-15 12:28:21.360270', "upper_comments_tree" = '[1,2]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 3], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:21.367549' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:21.369071' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:21.370134' WHERE "inkwell_comments"."id" = 3  (0.0ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 3, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.366050', "updated_at" = '2013-03-15 12:28:21.366050', "upper_comments_tree" = '[1,3]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:21.373700' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:21.375460' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.371945', "updated_at" = '2013-03-15 12:28:21.371945', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 4], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:21.378916' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:21.380460' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":4},{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:21.381599' WHERE "inkwell_comments"."id" = 2 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:21.382544' WHERE "inkwell_comments"."id" = 4  (0.9ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 4, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.377598', "updated_at" = '2013-03-15 12:28:21.377598', "upper_comments_tree" = '[1,2,4]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 3], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:21.386394' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:21.388058' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:21.389219' WHERE "inkwell_comments"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 3, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.385133', "updated_at" = '2013-03-15 12:28:21.385133', "upper_comments_tree" = '[1,3]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:21.393112' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.4ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9}]', "updated_at" = '2013-03-15 12:28:21.417311' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.391415', "updated_at" = '2013-03-15 12:28:21.391415', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 9  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 6], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:21.420902' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:21.422535' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":10}]', "updated_at" = '2013-03-15 12:28:21.423528' WHERE "inkwell_comments"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 6, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.419393', "updated_at" = '2013-03-15 12:28:21.419393', "upper_comments_tree" = '[1,6]' WHERE "inkwell_comments"."id" = 10  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 5], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:21.427286' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:21.428743' WHERE "inkwell_comments"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:21.429892' WHERE "inkwell_comments"."id" = 3 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":11}]', "updated_at" = '2013-03-15 12:28:21.430846' WHERE "inkwell_comments"."id" = 5  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 5, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.425784', "updated_at" = '2013-03-15 12:28:21.425784', "upper_comments_tree" = '[1,3,5]' WHERE "inkwell_comments"."id" = 11  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "Lets You Party Like a Facebook User"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", 1], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1},{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:21.433931' WHERE "posts"."id" = 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":2},{"user_id":1,"comment_id":3},{"user_id":2,"comment_id":4},{"user_id":1,"comment_id":5},{"user_id":2,"comment_id":6},{"user_id":2,"comment_id":7},{"user_id":1,"comment_id":8},{"user_id":1,"comment_id":9},{"user_id":2,"comment_id":10},{"user_id":1,"comment_id":11},{"user_id":2,"comment_id":12}]', "updated_at" = '2013-03-15 12:28:21.436531' WHERE "inkwell_comments"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'Lets You Party Like a Facebook User', "parent_comment_id" = 1, "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.432726', "updated_at" = '2013-03-15 12:28:21.432726', "upper_comments_tree" = '[1]' WHERE "inkwell_comments"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 9]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 10]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 12]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 11]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p' AND (created_at < '2013-03-15 12:28:21.425784') ORDER BY created_at DESC LIMIT 10  (0.1ms) rollback transaction  (3.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.0ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.0ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."user_id" = 1 Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."topmost_obj_id" = 1 AND "inkwell_comments"."topmost_obj_type" = 'p'  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.533991' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.532732', "updated_at" = '2013-03-15 12:28:21.532732', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.537228' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u'  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[]', "updated_at" = '2013-03-15 12:28:21.540466' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::FavoriteItem Load (0.5ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.574044' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:21.576274' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u'  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? [["id", 3]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.579324' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"   (0.1ms) rollback transaction  (3.9ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.629508' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.628120', "updated_at" = '2013-03-15 12:28:21.628120', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.0ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.680253' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.678984', "updated_at" = '2013-03-15 12:28:21.678984', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.683521' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.7ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.7ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.732493' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.731127', "updated_at" = '2013-03-15 12:28:21.731127', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.9ms) DELETE FROM "inkwell_community_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.9ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.787151' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.785700', "updated_at" = '2013-03-15 12:28:21.785700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.5ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.1ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.3ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.9ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.838935' WHERE "posts"."id" = 1  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.837700', "updated_at" = '2013-03-15 12:28:21.837700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:21.842344' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:21.845707' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.0ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.9ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.2ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.896581' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.895280', "updated_at" = '2013-03-15 12:28:21.895280', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.6ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.1ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:21.949295' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.948022', "updated_at" = '2013-03-15 12:28:21.948022', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 2], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:21.980745' WHERE "posts"."id" = 2  (0.2ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 2, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.979505', "updated_at" = '2013-03-15 12:28:21.979505', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 3], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:21.986702' WHERE "posts"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 3, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:21.985624', "updated_at" = '2013-03-15 12:28:21.985624', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 3], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":3},{"user_id":1,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:21.989672' WHERE "posts"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 3, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.988564', "updated_at" = '2013-03-15 12:28:21.988564', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:21 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.3ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:22.000450' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:21.999057', "updated_at" = '2013-03-15 12:28:21.999057', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:22.004201' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.002934', "updated_at" = '2013-03-15 12:28:22.002934', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6},{"user_id":1,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:22.007280' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.006023', "updated_at" = '2013-03-15 12:28:22.006023', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6},{"user_id":1,"comment_id":7},{"user_id":2,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:22.010567' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:22.009070', "updated_at" = '2013-03-15 12:28:22.009070', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.016236' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.018653' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.021435' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.023805' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 4], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.026201' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.028735' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.031106' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.033659' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 5], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.036090' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 6], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.038326' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 7], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.040539' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 8], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.042880' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.045202' WHERE "posts"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:22.048105' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:22.050551' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", true], ["item_id", 7], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:22.053268' WHERE "inkwell_comments"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", true], ["item_id", 7], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:22.056218' WHERE "posts"."id" = 7  (0.2ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 8 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::BlogItem Exists (0.9ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 6 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 6 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 4 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 4 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 3 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.8ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1  (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.7ms) DELETE FROM "inkwell_community_users";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.0ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.0ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.142579' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.141245', "updated_at" = '2013-03-15 12:28:22.141245', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.145778' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u'  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[]', "updated_at" = '2013-03-15 12:28:22.148464' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"  Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.151346' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:22.153692' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u'  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:22.156381' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items"   (0.2ms) rollback transaction  (3.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.3ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.7ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.202188' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.200895', "updated_at" = '2013-03-15 12:28:22.200895', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.205117' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1,2]', "updated_at" = '2013-03-15 12:28:22.208641' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.4ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.9ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.5ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.6ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.8ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.4ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.4ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.290929' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.289486', "updated_at" = '2013-03-15 12:28:22.289486', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:22.295932' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 3 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[2,3]', "updated_at" = '2013-03-15 12:28:22.298260' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (3.7ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.3ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.0ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.2ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.5ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.5ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.343999' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.342464', "updated_at" = '2013-03-15 12:28:22.342464', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 2], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":2}]', "updated_at" = '2013-03-15 12:28:22.349661' WHERE "posts"."id" = 2  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 2, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.348515', "updated_at" = '2013-03-15 12:28:22.348515', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 3], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":3}]', "updated_at" = '2013-03-15 12:28:22.355334' WHERE "posts"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 3, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:22.354185', "updated_at" = '2013-03-15 12:28:22.354185', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 3], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":2,"comment_id":3},{"user_id":1,"comment_id":4}]', "updated_at" = '2013-03-15 12:28:22.358415' WHERE "posts"."id" = 3  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 3, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.357000', "updated_at" = '2013-03-15 12:28:22.357000', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5}]', "updated_at" = '2013-03-15 12:28:22.368935' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.367548', "updated_at" = '2013-03-15 12:28:22.367548', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6}]', "updated_at" = '2013-03-15 12:28:22.371702' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.370696', "updated_at" = '2013-03-15 12:28:22.370696', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6},{"user_id":1,"comment_id":7}]', "updated_at" = '2013-03-15 12:28:22.374646' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.373527', "updated_at" = '2013-03-15 12:28:22.373527', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 6], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":5},{"user_id":1,"comment_id":6},{"user_id":1,"comment_id":7},{"user_id":2,"comment_id":8}]', "updated_at" = '2013-03-15 12:28:22.377439' WHERE "posts"."id" = 6  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 6, "topmost_obj_type" = 'p', "user_id" = 2, "created_at" = '2013-03-15 12:28:22.376373', "updated_at" = '2013-03-15 12:28:22.376373', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.383820' WHERE "posts"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 2], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.386065' WHERE "inkwell_comments"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.388194' WHERE "posts"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 3], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.390588' WHERE "inkwell_comments"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 4], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.392763' WHERE "inkwell_comments"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 4 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.394852' WHERE "posts"."id" = 4  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.397064' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.399101' WHERE "posts"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 5], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.401327' WHERE "inkwell_comments"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 6], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.403495' WHERE "inkwell_comments"."id" = 6  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 7], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.405701' WHERE "inkwell_comments"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 8], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.407710' WHERE "inkwell_comments"."id" = 8  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.409928' WHERE "posts"."id" = 7  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 3 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 8]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.1ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? LIMIT 1 [["id", 12]] Inkwell::FavoriteItem Load (0.2ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' AND (created_at < '2013-03-15 12:28:22.406954') ORDER BY created_at DESC LIMIT 10 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 4]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 3]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 2]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 2 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."id" = ? LIMIT 1 [["id", 12]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' AND (created_at < '2013-03-15 12:28:22.406954') ORDER BY created_at DESC LIMIT 5 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 7]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 6]] Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 5]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' LIMIT 1  (0.1ms) rollback transaction  (3.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.0ms) DELETE FROM "inkwell_comments";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.6ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.4ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.4ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.7ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.495084' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.493700', "updated_at" = '2013-03-15 12:28:22.493700', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]] Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:22.499475' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 3 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[2,3]', "updated_at" = '2013-03-15 12:28:22.501762' WHERE "posts"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.2ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (4.8ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.8ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.9ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.5ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:22.553701' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:22.552402', "updated_at" = '2013-03-15 12:28:22.552402', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:22.557244' WHERE "inkwell_comments"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (4.4ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (4.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (7.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (6.5ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (7.4ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (849.4ms) DELETE FROM "inkwell_followings";  (0.4ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (6.1ms) DELETE FROM "inkwell_timeline_items";  (0.3ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (6.1ms) DELETE FROM "posts";  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';  (6.2ms) DELETE FROM "users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction  (0.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.1ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.2ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.2ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.2ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:23.485153' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:23.483662', "updated_at" = '2013-03-15 12:28:23.483662', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (5.3ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.7ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.6ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.7ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.3ms) DELETE FROM "inkwell_favorite_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.8ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.6ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.6ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.2ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.2ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.2ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.0ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.1ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:23.537099' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:23.535859', "updated_at" = '2013-03-15 12:28:23.535859', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (4.1ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (2.8ms) DELETE FROM "inkwell_blog_items";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.5ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (4.3ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (4.5ms) DELETE FROM "inkwell_followings";  (0.2ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (4.1ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (4.8ms) DELETE FROM "posts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';  (4.6ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.1ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.0ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.1ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.1ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 2], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 3], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_4"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_5"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", true], ["item_id", 5], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:28:23.634043' WHERE "posts"."id" = 5  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_1"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_6"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_7"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_8"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_2"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body_9"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 13], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "morozovm_post_test_body_3"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 14], ["item_type", "p"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 8 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", true], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:28:23.655532' WHERE "posts"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 12 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", true], ["item_id", 12], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_reblog_it" = '[1]', "updated_at" = '2013-03-15 12:28:23.658276' WHERE "posts"."id" = 12  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.0ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["item_id", 8], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "posts" SET "users_ids_who_favorite_it" = '[1]', "updated_at" = '2013-03-15 12:28:23.661145' WHERE "posts"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.1ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["followed_id", 1], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:23.663757' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:23.664825' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.2ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 12], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 8], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 13 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 13], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 11 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 11], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 10 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 10], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 9 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 9], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 5], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.0ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 7 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 7], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 6 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 6], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 4 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":1,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 4], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 2, "updated_at" = '2013-03-15 12:28:23.684361' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:23.685418' WHERE "users"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.0ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 14 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"following\"}]"], ["has_many_sources", false], ["item_id", 14], ["item_type", "p"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 12 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"reblog"},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:23.690559' WHERE "inkwell_timeline_items"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 8 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"reblog"},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:23.691891' WHERE "inkwell_timeline_items"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 5 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'p' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_timeline_items" SET "has_many_sources" = 't', "from_source" = '[{"user_id":1,"type":"reblog"},{"user_id":2,"type":"following"}]', "updated_at" = '2013-03-15 12:28:23.693272' WHERE "inkwell_timeline_items"."id" = 7  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 12]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 12 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.6ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 12 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 8]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 8 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 8 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 14]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 14 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 14 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 13]] Inkwell::BlogItem Exists (0.2ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 13 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 13 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 11]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 11 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 11 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 10]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 10 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 10 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 9]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 9 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.0ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 9 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 5]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 5 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 5 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 7]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 7 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 7 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1 Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 6]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 6 AND "inkwell_blog_items"."owner_id" = 1 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'p' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 6 AND "inkwell_favorite_items"."item_type" = 'p' AND "inkwell_favorite_items"."owner_id" = 1 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (3.5ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.0ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (3.2ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (2.9ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.9ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.0ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.3ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (3.3ms) DELETE FROM "users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) DELETE FROM "communities";  (0.0ms) DELETE FROM sqlite_sequence where name = 'communities';  (0.0ms) DELETE FROM "inkwell_blog_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (0.0ms) DELETE FROM "inkwell_comments";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (0.1ms) DELETE FROM "inkwell_community_users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (0.1ms) DELETE FROM "inkwell_favorite_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (0.1ms) DELETE FROM "inkwell_followings";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (0.0ms) DELETE FROM "inkwell_timeline_items";  (0.0ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (0.2ms) DELETE FROM "posts";  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';  (0.0ms) DELETE FROM "users";  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Salkar"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Morozovm"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("community_count", "created_at", "follower_count", "following_count", "nick", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["community_count", 0], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["follower_count", 0], ["following_count", 0], ["nick", "Talisman"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("body", "communities_ids", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_post_test_body"], ["communities_ids", "[]"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["title", nil], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", false], ["item_id", 1], ["item_type", "p"], ["owner_id", 1], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]] Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_comments" ("body", "created_at", "parent_comment_id", "topmost_obj_id", "topmost_obj_type", "updated_at", "upper_comments_tree", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["body", "salkar_comment_body"], ["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["parent_comment_id", nil], ["topmost_obj_id", 1], ["topmost_obj_type", "p"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["upper_comments_tree", nil], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) UPDATE "posts" SET "users_ids_who_comment_it" = '[{"user_id":1,"comment_id":1}]', "updated_at" = '2013-03-15 12:28:23.781964' WHERE "posts"."id" = 1  (0.1ms) UPDATE "inkwell_comments" SET "body" = 'salkar_comment_body', "topmost_obj_id" = 1, "topmost_obj_type" = 'p', "user_id" = 1, "created_at" = '2013-03-15 12:28:23.780390', "updated_at" = '2013-03-15 12:28:23.780390', "upper_comments_tree" = '[]' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Exists (0.0ms) SELECT 1 AS one FROM "inkwell_followings" WHERE "inkwell_followings"."follower_id" = 3 AND "inkwell_followings"."followed_id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_followings" ("created_at", "followed_id", "follower_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["followed_id", 2], ["follower_id", 3], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "following_count" = 1, "updated_at" = '2013-03-15 12:28:23.785075' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "follower_count" = 1, "updated_at" = '2013-03-15 12:28:23.785960' WHERE "users"."id" = 2  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::BlogItem Load (0.1ms) SELECT "inkwell_blog_items".* FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::BlogItem Exists (0.0ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_reblog", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["is_reblog", true], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_reblog_it" = '[2]', "updated_at" = '2013-03-15 12:28:23.789108' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::Following Load (0.1ms) SELECT "inkwell_followings".* FROM "inkwell_followings" WHERE "inkwell_followings"."followed_id" = 2 Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."item_id" = 1 AND "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' AND "inkwell_timeline_items"."item_type" = 'c' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_timeline_items" ("created_at", "from_source", "has_many_sources", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["from_source", "[{\"user_id\":2,\"type\":\"reblog\"}]"], ["has_many_sources", false], ["item_id", 1], ["item_type", "c"], ["owner_id", 3], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "inkwell_favorite_items" ("created_at", "item_id", "item_type", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00], ["item_id", 1], ["item_type", "c"], ["owner_id", 2], ["owner_type", "u"], ["updated_at", Fri, 15 Mar 2013 12:28:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "inkwell_comments" SET "users_ids_who_favorite_it" = '[2]', "updated_at" = '2013-03-15 12:28:23.793219' WHERE "inkwell_comments"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] Inkwell::TimelineItem Load (0.1ms) SELECT "inkwell_timeline_items".* FROM "inkwell_timeline_items" WHERE "inkwell_timeline_items"."owner_id" = 3 AND "inkwell_timeline_items"."owner_type" = 'u' ORDER BY created_at DESC LIMIT 10 Inkwell::Comment Load (0.0ms) SELECT "inkwell_comments".* FROM "inkwell_comments" WHERE "inkwell_comments"."id" = ? LIMIT 1 [["id", 1]] Inkwell::BlogItem Exists (0.1ms) SELECT 1 AS one FROM "inkwell_blog_items" WHERE "inkwell_blog_items"."item_id" = 1 AND "inkwell_blog_items"."owner_id" = 2 AND "inkwell_blog_items"."owner_type" = 'u' AND "inkwell_blog_items"."is_reblog" = 't' AND "inkwell_blog_items"."item_type" = 'c' LIMIT 1 Inkwell::FavoriteItem Load (0.1ms) SELECT "inkwell_favorite_items".* FROM "inkwell_favorite_items" WHERE "inkwell_favorite_items"."item_id" = 1 AND "inkwell_favorite_items"."item_type" = 'c' AND "inkwell_favorite_items"."owner_id" = 2 AND "inkwell_favorite_items"."owner_type" = 'u' LIMIT 1  (0.1ms) rollback transaction  (5.2ms) DELETE FROM "communities";  (0.1ms) DELETE FROM sqlite_sequence where name = 'communities';  (3.9ms) DELETE FROM "inkwell_blog_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_blog_items';  (3.7ms) DELETE FROM "inkwell_comments";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_comments';  (4.4ms) DELETE FROM "inkwell_community_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_community_users';  (3.6ms) DELETE FROM "inkwell_favorite_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_favorite_items';  (3.7ms) DELETE FROM "inkwell_followings";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_followings';  (3.3ms) DELETE FROM "inkwell_timeline_items";  (0.1ms) DELETE FROM sqlite_sequence where name = 'inkwell_timeline_items';  (3.4ms) DELETE FROM "posts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';  (2.9ms) DELETE FROM "users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';